21c00b2c53a0283953de5fd592b6b5c05a9bd886
[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 _0xe0d5=['../../../../config/logger','routing','info','getMustacheRender','next','error','[%s][NOOP]\x20%s','stringify','stop','./utils'];(function(_0x24f010,_0x4bc43d){var _0x2a308b=function(_0x5726b4){while(--_0x5726b4){_0x24f010['push'](_0x24f010['shift']());}};_0x2a308b(++_0x4bc43d);}(_0xe0d5,0xf9));var _0x5e0d=function(_0xb8d0d8,_0xd8d317){_0xb8d0d8=_0xb8d0d8-0x0;var _0x19251e=_0xe0d5[_0xb8d0d8];return _0x19251e;};'use strict';var utils=require(_0x5e0d('0x0'));var logger=require(_0x5e0d('0x1'))(_0x5e0d('0x2'));exports['consequence']=function(_0x17ee3e,_0x158384){return function(_0x45d118){try{logger[_0x5e0d('0x3')]('[%s][NOOP]\x20%s',_0x17ee3e,utils[_0x5e0d('0x4')](_0x158384[0x0],this));_0x45d118[_0x5e0d('0x5')]();}catch(_0x491d37){logger[_0x5e0d('0x6')](_0x5e0d('0x7'),_0x17ee3e,JSON[_0x5e0d('0x8')](_0x491d37));_0x45d118[_0x5e0d('0x9')]();}};};