6968fc98983eb16e6b42638ab206118773258a9c
[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 _0x0146=['../../../../config/logger','routing','info','[%s][NOOP]\x20%s','getMustacheRender','error','stringify'];(function(_0x4fc06b,_0x1bd518){var _0x47e08b=function(_0x3d7c5c){while(--_0x3d7c5c){_0x4fc06b['push'](_0x4fc06b['shift']());}};_0x47e08b(++_0x1bd518);}(_0x0146,0x118));var _0x6014=function(_0x2cd1fb,_0x291f55){_0x2cd1fb=_0x2cd1fb-0x0;var _0x48fd2b=_0x0146[_0x2cd1fb];return _0x48fd2b;};'use strict';var utils=require('./utils');var logger=require(_0x6014('0x0'))(_0x6014('0x1'));exports['consequence']=function(_0xc2d208,_0x48e4d6){return function(_0x1bce7a){try{logger[_0x6014('0x2')](_0x6014('0x3'),_0xc2d208,utils[_0x6014('0x4')](_0x48e4d6[0x0],this));_0x1bce7a['next']();}catch(_0x309fe8){logger[_0x6014('0x5')]('[%s][NOOP]\x20%s',_0xc2d208,JSON[_0x6014('0x6')](_0x309fe8));_0x1bce7a['stop']();}};};