Built motion from commit (unavailable).|2.5.7
[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 _0xed5c=['info','getMustacheRender','error','[%s][NOOP]\x20%s','stringify','stop','./utils','../../../../config/logger','routing'];(function(_0xb92eb7,_0x3458ec){var _0x459c11=function(_0x41de24){while(--_0x41de24){_0xb92eb7['push'](_0xb92eb7['shift']());}};_0x459c11(++_0x3458ec);}(_0xed5c,0x1c8));var _0xced5=function(_0x2e9a21,_0x56712e){_0x2e9a21=_0x2e9a21-0x0;var _0x4157a3=_0xed5c[_0x2e9a21];return _0x4157a3;};'use strict';var utils=require(_0xced5('0x0'));var logger=require(_0xced5('0x1'))(_0xced5('0x2'));exports['consequence']=function(_0x5f9868,_0x173bf8){return function(_0x20c081){try{logger[_0xced5('0x3')]('[%s][NOOP]\x20%s',_0x5f9868,utils[_0xced5('0x4')](_0x173bf8[0x0],this));_0x20c081['next']();}catch(_0x39676e){logger[_0xced5('0x5')](_0xced5('0x6'),_0x5f9868,JSON[_0xced5('0x7')](_0x39676e));_0x20c081[_0xced5('0x8')]();}};};