Built motion from commit 87cd5f02.|2.5.48
[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 _0xc998=['getMustacheRender','error','stop','../../../../config/logger','routing','info','[%s][NOOP]\x20%s'];(function(_0x1a9204,_0x1c9e00){var _0x17ca68=function(_0x1f4399){while(--_0x1f4399){_0x1a9204['push'](_0x1a9204['shift']());}};_0x17ca68(++_0x1c9e00);}(_0xc998,0x18b));var _0x8c99=function(_0x1a35ba,_0x3c8cb9){_0x1a35ba=_0x1a35ba-0x0;var _0x76a888=_0xc998[_0x1a35ba];return _0x76a888;};'use strict';var utils=require('./utils');var logger=require(_0x8c99('0x0'))(_0x8c99('0x1'));exports['consequence']=function(_0x101f59,_0x50a8a1){return function(_0x58f044){try{logger[_0x8c99('0x2')](_0x8c99('0x3'),_0x101f59,utils[_0x8c99('0x4')](_0x50a8a1[0x0],this));_0x58f044['next']();}catch(_0x124a17){logger[_0x8c99('0x5')](_0x8c99('0x3'),_0x101f59,JSON['stringify'](_0x124a17));_0x58f044[_0x8c99('0x6')]();}};};