Built motion from commit 9e1399f3.|2.5.37
[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 _0xc186=['next','error','stop','../../../../config/logger','routing','consequence','[%s][NOOP]\x20%s','getMustacheRender'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xc186,0x73));var _0x6c18=function(_0x2100da,_0x245180){_0x2100da=_0x2100da-0x0;var _0x16a262=_0xc186[_0x2100da];return _0x16a262;};'use strict';var utils=require('./utils');var logger=require(_0x6c18('0x0'))(_0x6c18('0x1'));exports[_0x6c18('0x2')]=function(_0x2c9cb4,_0x27b71f){return function(_0x57e1ec){try{logger['info'](_0x6c18('0x3'),_0x2c9cb4,utils[_0x6c18('0x4')](_0x27b71f[0x0],this));_0x57e1ec[_0x6c18('0x5')]();}catch(_0x88742){logger[_0x6c18('0x6')](_0x6c18('0x3'),_0x2c9cb4,JSON['stringify'](_0x88742));_0x57e1ec[_0x6c18('0x7')]();}};};