Built motion from commit 00bf23f6.|2.6.16
[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 _0xc3eb=['routing','info','getMustacheRender','next','[%s][NOOP]\x20%s','stringify','stop'];(function(_0x10e5d9,_0x52e4fd){var _0x5df441=function(_0x235127){while(--_0x235127){_0x10e5d9['push'](_0x10e5d9['shift']());}};_0x5df441(++_0x52e4fd);}(_0xc3eb,0x173));var _0xbc3e=function(_0x48a96f,_0x530059){_0x48a96f=_0x48a96f-0x0;var _0x3ff3ef=_0xc3eb[_0x48a96f];return _0x3ff3ef;};'use strict';var utils=require('./utils');var logger=require('../../../../config/logger')(_0xbc3e('0x0'));exports['consequence']=function(_0x1e543f,_0x2a4f6b){return function(_0x4d08cb){try{logger[_0xbc3e('0x1')]('[%s][NOOP]\x20%s',_0x1e543f,utils[_0xbc3e('0x2')](_0x2a4f6b[0x0],this));_0x4d08cb[_0xbc3e('0x3')]();}catch(_0x52a917){logger['error'](_0xbc3e('0x4'),_0x1e543f,JSON[_0xbc3e('0x5')](_0x52a917));_0x4d08cb[_0xbc3e('0x6')]();}};};