17d32122a618bdc0d6ee9fda6f74fae100dc7be5
[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 _0x8a9e=['error','stringify','stop','./utils','../../../../config/logger','routing','consequence','getMustacheRender','next'];(function(_0x1a7b68,_0x30a625){var _0x3b7799=function(_0x1b4bab){while(--_0x1b4bab){_0x1a7b68['push'](_0x1a7b68['shift']());}};_0x3b7799(++_0x30a625);}(_0x8a9e,0xed));var _0xe8a9=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x8a9e[_0x13e741];return _0x3f8bb3;};'use strict';var utils=require(_0xe8a9('0x0'));var logger=require(_0xe8a9('0x1'))(_0xe8a9('0x2'));exports[_0xe8a9('0x3')]=function(_0x25cebd,_0x21ba9b){return function(_0x220fa8){try{logger['info']('[%s][NOOP]\x20%s',_0x25cebd,utils[_0xe8a9('0x4')](_0x21ba9b[0x0],this));_0x220fa8[_0xe8a9('0x5')]();}catch(_0x5c0f85){logger[_0xe8a9('0x6')]('[%s][NOOP]\x20%s',_0x25cebd,JSON[_0xe8a9('0x7')](_0x5c0f85));_0x220fa8[_0xe8a9('0x8')]();}};};