Built motion from commit (unavailable).|2.5.4
[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 _0xab85=['error','stringify','./utils','../../../../config/logger','routing','consequence','getMustacheRender','next'];(function(_0xa5fd3c,_0x44ce96){var _0x545edc=function(_0x5b9399){while(--_0x5b9399){_0xa5fd3c['push'](_0xa5fd3c['shift']());}};_0x545edc(++_0x44ce96);}(_0xab85,0x102));var _0x5ab8=function(_0x138469,_0x50b2dc){_0x138469=_0x138469-0x0;var _0x1c7e95=_0xab85[_0x138469];return _0x1c7e95;};'use strict';var utils=require(_0x5ab8('0x0'));var logger=require(_0x5ab8('0x1'))(_0x5ab8('0x2'));exports[_0x5ab8('0x3')]=function(_0x106881,_0x3afc48){return function(_0x30ef46){try{logger['info']('[%s][NOOP]\x20%s',_0x106881,utils[_0x5ab8('0x4')](_0x3afc48[0x0],this));_0x30ef46[_0x5ab8('0x5')]();}catch(_0x13f71f){logger[_0x5ab8('0x6')]('[%s][NOOP]\x20%s',_0x106881,JSON[_0x5ab8('0x7')](_0x13f71f));_0x30ef46['stop']();}};};