Built motion from commit (unavailable).|2.6.0
[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 _0xcd3d=['[%s][NOOP]\x20%s','stringify','stop','./utils','../../../../config/logger','consequence','getMustacheRender','next'];(function(_0x23c052,_0x529c10){var _0x4f9d57=function(_0x2dac0d){while(--_0x2dac0d){_0x23c052['push'](_0x23c052['shift']());}};_0x4f9d57(++_0x529c10);}(_0xcd3d,0x16b));var _0xdcd3=function(_0x25aa6e,_0x5da4c7){_0x25aa6e=_0x25aa6e-0x0;var _0x36bf26=_0xcd3d[_0x25aa6e];return _0x36bf26;};'use strict';var utils=require(_0xdcd3('0x0'));var logger=require(_0xdcd3('0x1'))('routing');exports[_0xdcd3('0x2')]=function(_0x4244e0,_0x407463){return function(_0x1ac8f6){try{logger['info']('[%s][NOOP]\x20%s',_0x4244e0,utils[_0xdcd3('0x3')](_0x407463[0x0],this));_0x1ac8f6[_0xdcd3('0x4')]();}catch(_0x3fc501){logger['error'](_0xdcd3('0x5'),_0x4244e0,JSON[_0xdcd3('0x6')](_0x3fc501));_0x1ac8f6[_0xdcd3('0x7')]();}};};