Built motion from commit (unavailable).|2.5.4
[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 _0xa2cf=['info','[%s][NOOP]\x20%s','getMustacheRender','next','error','stringify','stop','../../../../config/logger','routing'];(function(_0x5c29c2,_0x565b36){var _0x41fdda=function(_0x1a8538){while(--_0x1a8538){_0x5c29c2['push'](_0x5c29c2['shift']());}};_0x41fdda(++_0x565b36);}(_0xa2cf,0xbb));var _0xfa2c=function(_0x2a1832,_0x534810){_0x2a1832=_0x2a1832-0x0;var _0x3c8bd2=_0xa2cf[_0x2a1832];return _0x3c8bd2;};'use strict';var utils=require('./utils');var logger=require(_0xfa2c('0x0'))(_0xfa2c('0x1'));exports['consequence']=function(_0x48429d,_0x487615){return function(_0x307c2c){try{logger[_0xfa2c('0x2')](_0xfa2c('0x3'),_0x48429d,utils[_0xfa2c('0x4')](_0x487615[0x0],this));_0x307c2c[_0xfa2c('0x5')]();}catch(_0x22c813){logger[_0xfa2c('0x6')](_0xfa2c('0x3'),_0x48429d,JSON[_0xfa2c('0x7')](_0x22c813));_0x307c2c[_0xfa2c('0x8')]();}};};