Built motion from commit (unavailable).|2.3.1
[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 _0xbba0=['stringify','stop','./utils','../../../../config/logger','info','[%s][NOOP]\x20%s','error'];(function(_0x3f2cff,_0x161414){var _0x384ed7=function(_0x39547d){while(--_0x39547d){_0x3f2cff['push'](_0x3f2cff['shift']());}};_0x384ed7(++_0x161414);}(_0xbba0,0x1c2));var _0x0bba=function(_0x45783c,_0x49c56d){_0x45783c=_0x45783c-0x0;var _0x1161da=_0xbba0[_0x45783c];return _0x1161da;};'use strict';var utils=require(_0x0bba('0x0'));var logger=require(_0x0bba('0x1'))('routing');exports['consequence']=function(_0x191ae6,_0x46a242){return function(_0x25e331){try{logger[_0x0bba('0x2')](_0x0bba('0x3'),_0x191ae6,utils['getMustacheRender'](_0x46a242[0x0],this));_0x25e331['next']();}catch(_0x3c4050){logger[_0x0bba('0x4')](_0x0bba('0x3'),_0x191ae6,JSON[_0x0bba('0x5')](_0x3c4050));_0x25e331[_0x0bba('0x6')]();}};};