Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / routing / server / applications / noop.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xd18a=['../../../../config/logger','routing','consequence','getMustacheRender','stringify','./utils'];(function(_0x49aa62,_0x213c48){var _0xfffecb=function(_0x56f73d){while(--_0x56f73d){_0x49aa62['push'](_0x49aa62['shift']());}};_0xfffecb(++_0x213c48);}(_0xd18a,0xbf));var _0xad18=function(_0x2efc12,_0x144d91){_0x2efc12=_0x2efc12-0x0;var _0xf7ff6f=_0xd18a[_0x2efc12];return _0xf7ff6f;};'use strict';var utils=require(_0xad18('0x0'));var logger=require(_0xad18('0x1'))(_0xad18('0x2'));exports[_0xad18('0x3')]=function(_0x4f1d11,_0x1d427d){return function(_0x396720){try{logger['info']('[%s][NOOP]\x20%s',_0x4f1d11,utils[_0xad18('0x4')](_0x1d427d[0x0],this));_0x396720['next']();}catch(_0x2bc62a){logger['error']('[%s][NOOP]\x20%s',_0x4f1d11,JSON[_0xad18('0x5')](_0x2bc62a));_0x396720['stop']();}};};