274e9d309928a8f34c307903877af4b8a9ac5373
[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 _0x93e8=['next','[%s][NOOP]\x20%s','stringify','stop','./utils','../../../../config/logger','routing','info'];(function(_0xaa5479,_0x59dce4){var _0x1960a7=function(_0x3f5aac){while(--_0x3f5aac){_0xaa5479['push'](_0xaa5479['shift']());}};_0x1960a7(++_0x59dce4);}(_0x93e8,0xfc));var _0x893e=function(_0xc4001c,_0x1bf8f0){_0xc4001c=_0xc4001c-0x0;var _0x49f7bc=_0x93e8[_0xc4001c];return _0x49f7bc;};'use strict';var utils=require(_0x893e('0x0'));var logger=require(_0x893e('0x1'))(_0x893e('0x2'));exports['consequence']=function(_0x345abd,_0x4b7baf){return function(_0x5b9db3){try{logger[_0x893e('0x3')]('[%s][NOOP]\x20%s',_0x345abd,utils['getMustacheRender'](_0x4b7baf[0x0],this));_0x5b9db3[_0x893e('0x4')]();}catch(_0x36d42d){logger['error'](_0x893e('0x5'),_0x345abd,JSON[_0x893e('0x6')](_0x36d42d));_0x5b9db3[_0x893e('0x7')]();}};};