Built motion from commit b5413ace.|2.6.9
[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 _0x38e2=['routing','consequence','info','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','stop','../../../../config/logger'];(function(_0x15fc7a,_0xd21741){var _0x3aa9f4=function(_0x313108){while(--_0x313108){_0x15fc7a['push'](_0x15fc7a['shift']());}};_0x3aa9f4(++_0xd21741);}(_0x38e2,0x199));var _0x238e=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x38e2[_0x59ee6f];return _0x4c0979;};'use strict';var utils=require('./utils');var logger=require(_0x238e('0x0'))(_0x238e('0x1'));exports[_0x238e('0x2')]=function(_0xbe0f7a,_0x2196a3){return function(_0x84a740){try{logger[_0x238e('0x3')](_0x238e('0x4'),_0xbe0f7a,utils[_0x238e('0x5')](_0x2196a3[0x0],this));_0x84a740[_0x238e('0x6')]();}catch(_0x4ade75){logger[_0x238e('0x7')](_0x238e('0x4'),_0xbe0f7a,JSON[_0x238e('0x8')](_0x4ade75));_0x84a740[_0x238e('0x9')]();}};};