Built motion from commit d5e4af8c.|2.6.23
[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 _0x5c57=['stringify','./utils','routing','info','getMustacheRender','next','error','[%s][NOOP]\x20%s'];(function(_0x22f8ab,_0x15d8ff){var _0x2a70e5=function(_0x5e6895){while(--_0x5e6895){_0x22f8ab['push'](_0x22f8ab['shift']());}};_0x2a70e5(++_0x15d8ff);}(_0x5c57,0xc1));var _0x75c5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5c57[_0x3dd15e];return _0x231fd0;};'use strict';var utils=require(_0x75c5('0x0'));var logger=require('../../../../config/logger')(_0x75c5('0x1'));exports['consequence']=function(_0x28107d,_0x1a75e1){return function(_0x132f9f){try{logger[_0x75c5('0x2')]('[%s][NOOP]\x20%s',_0x28107d,utils[_0x75c5('0x3')](_0x1a75e1[0x0],this));_0x132f9f[_0x75c5('0x4')]();}catch(_0x703811){logger[_0x75c5('0x5')](_0x75c5('0x6'),_0x28107d,JSON[_0x75c5('0x7')](_0x703811));_0x132f9f['stop']();}};};