Built motion from commit 4e7c323b.|2.5.34
[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 _0xe966=['consequence','info','getMustacheRender','next','stringify','stop','./utils','../../../../config/logger','routing'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0xe966,0x189));var _0x6e96=function(_0x49c76c,_0x179554){_0x49c76c=_0x49c76c-0x0;var _0x574b3f=_0xe966[_0x49c76c];return _0x574b3f;};'use strict';var utils=require(_0x6e96('0x0'));var logger=require(_0x6e96('0x1'))(_0x6e96('0x2'));exports[_0x6e96('0x3')]=function(_0x24824c,_0x590091){return function(_0x5c4e93){try{logger[_0x6e96('0x4')]('[%s][NOOP]\x20%s',_0x24824c,utils[_0x6e96('0x5')](_0x590091[0x0],this));_0x5c4e93[_0x6e96('0x6')]();}catch(_0x353396){logger['error']('[%s][NOOP]\x20%s',_0x24824c,JSON[_0x6e96('0x7')](_0x353396));_0x5c4e93[_0x6e96('0x8')]();}};};