2d25f8a9f3fc1520f3aa77644f9b7405c6f81574
[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 _0x3077=['stop','./utils','../../../../config/logger','routing','consequence','next','error','stringify'];(function(_0x509273,_0x13fc9f){var _0x38ef40=function(_0xf8d4c9){while(--_0xf8d4c9){_0x509273['push'](_0x509273['shift']());}};_0x38ef40(++_0x13fc9f);}(_0x3077,0x131));var _0x7307=function(_0x521929,_0x479be5){_0x521929=_0x521929-0x0;var _0x632436=_0x3077[_0x521929];return _0x632436;};'use strict';var utils=require(_0x7307('0x0'));var logger=require(_0x7307('0x1'))(_0x7307('0x2'));exports[_0x7307('0x3')]=function(_0x147c89,_0x382f85){return function(_0x136779){try{logger['info']('[%s][NOOP]\x20%s',_0x147c89,utils['getMustacheRender'](_0x382f85[0x0],this));_0x136779[_0x7307('0x4')]();}catch(_0x28a330){logger[_0x7307('0x5')]('[%s][NOOP]\x20%s',_0x147c89,JSON[_0x7307('0x6')](_0x28a330));_0x136779[_0x7307('0x7')]();}};};