04eb62f69f04f33a7099c0c8e2d9e7d63af57bec
[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 _0xbc21=['next','stringify','stop','./utils','../../../../config/logger','routing','info','[%s][NOOP]\x20%s','getMustacheRender'];(function(_0x50cfc3,_0x526cc6){var _0x5c11ef=function(_0xeaf96a){while(--_0xeaf96a){_0x50cfc3['push'](_0x50cfc3['shift']());}};_0x5c11ef(++_0x526cc6);}(_0xbc21,0x93));var _0x1bc2=function(_0x5708f2,_0x576c61){_0x5708f2=_0x5708f2-0x0;var _0x383b16=_0xbc21[_0x5708f2];return _0x383b16;};'use strict';var utils=require(_0x1bc2('0x0'));var logger=require(_0x1bc2('0x1'))(_0x1bc2('0x2'));exports['consequence']=function(_0x1dbf9b,_0x394bd4){return function(_0xa684d5){try{logger[_0x1bc2('0x3')](_0x1bc2('0x4'),_0x1dbf9b,utils[_0x1bc2('0x5')](_0x394bd4[0x0],this));_0xa684d5[_0x1bc2('0x6')]();}catch(_0x4d3523){logger['error'](_0x1bc2('0x4'),_0x1dbf9b,JSON[_0x1bc2('0x7')](_0x4d3523));_0xa684d5[_0x1bc2('0x8')]();}};};