Built motion from commit (unavailable).|2.5.5
[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 _0xb7bd=['[%s][NOOP]\x20%s','getMustacheRender','next','error','stop','./utils','../../../../config/logger','routing','consequence'];(function(_0x1fab39,_0x39eb06){var _0x54dc1b=function(_0x549542){while(--_0x549542){_0x1fab39['push'](_0x1fab39['shift']());}};_0x54dc1b(++_0x39eb06);}(_0xb7bd,0x164));var _0xdb7b=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xb7bd[_0x2641f9];return _0x585741;};'use strict';var utils=require(_0xdb7b('0x0'));var logger=require(_0xdb7b('0x1'))(_0xdb7b('0x2'));exports[_0xdb7b('0x3')]=function(_0x183b20,_0x50b6a6){return function(_0x2ef171){try{logger['info'](_0xdb7b('0x4'),_0x183b20,utils[_0xdb7b('0x5')](_0x50b6a6[0x0],this));_0x2ef171[_0xdb7b('0x6')]();}catch(_0x12c3b1){logger[_0xdb7b('0x7')]('[%s][NOOP]\x20%s',_0x183b20,JSON['stringify'](_0x12c3b1));_0x2ef171[_0xdb7b('0x8')]();}};};