Built motion from commit 14588770.|2.5.38
[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 _0x4818=['./utils','../../../../config/logger','routing','getMustacheRender','next','error','[%s][NOOP]\x20%s','stop'];(function(_0x3070dc,_0x40cf11){var _0x431489=function(_0x49bc2a){while(--_0x49bc2a){_0x3070dc['push'](_0x3070dc['shift']());}};_0x431489(++_0x40cf11);}(_0x4818,0x158));var _0x8481=function(_0x25ca20,_0x344917){_0x25ca20=_0x25ca20-0x0;var _0x1337b9=_0x4818[_0x25ca20];return _0x1337b9;};'use strict';var utils=require(_0x8481('0x0'));var logger=require(_0x8481('0x1'))(_0x8481('0x2'));exports['consequence']=function(_0x3d21c2,_0x362429){return function(_0x20e89e){try{logger['info']('[%s][NOOP]\x20%s',_0x3d21c2,utils[_0x8481('0x3')](_0x362429[0x0],this));_0x20e89e[_0x8481('0x4')]();}catch(_0x3d2445){logger[_0x8481('0x5')](_0x8481('0x6'),_0x3d21c2,JSON['stringify'](_0x3d2445));_0x20e89e[_0x8481('0x7')]();}};};