Built motion from commit 7ab0e143.|2.5.49
[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 _0xf87b=['error','[%s][NOOP]\x20%s','stop','./utils','info','getMustacheRender'];(function(_0x3a2c26,_0x2a5c54){var _0x59bdf=function(_0x2b5307){while(--_0x2b5307){_0x3a2c26['push'](_0x3a2c26['shift']());}};_0x59bdf(++_0x2a5c54);}(_0xf87b,0x99));var _0xbf87=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xf87b[_0x3dd15e];return _0x231fd0;};'use strict';var utils=require(_0xbf87('0x0'));var logger=require('../../../../config/logger')('routing');exports['consequence']=function(_0x10b5bf,_0x148870){return function(_0x2dc1f){try{logger[_0xbf87('0x1')]('[%s][NOOP]\x20%s',_0x10b5bf,utils[_0xbf87('0x2')](_0x148870[0x0],this));_0x2dc1f['next']();}catch(_0x322573){logger[_0xbf87('0x3')](_0xbf87('0x4'),_0x10b5bf,JSON['stringify'](_0x322573));_0x2dc1f[_0xbf87('0x5')]();}};};