Built motion from commit (unavailable).|2.5.24
[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 _0x4a06=['stop','./utils','../../../../config/logger','routing','[%s][NOOP]\x20%s','error','stringify'];(function(_0xeef39f,_0x3add43){var _0x4ed8a8=function(_0xd10fe0){while(--_0xd10fe0){_0xeef39f['push'](_0xeef39f['shift']());}};_0x4ed8a8(++_0x3add43);}(_0x4a06,0x1c8));var _0x64a0=function(_0x4bb5ed,_0x1bf8be){_0x4bb5ed=_0x4bb5ed-0x0;var _0x4f23d2=_0x4a06[_0x4bb5ed];return _0x4f23d2;};'use strict';var utils=require(_0x64a0('0x0'));var logger=require(_0x64a0('0x1'))(_0x64a0('0x2'));exports['consequence']=function(_0x42c290,_0xb88231){return function(_0x5e44e0){try{logger['info'](_0x64a0('0x3'),_0x42c290,utils['getMustacheRender'](_0xb88231[0x0],this));_0x5e44e0['next']();}catch(_0x2dd9d0){logger[_0x64a0('0x4')]('[%s][NOOP]\x20%s',_0x42c290,JSON[_0x64a0('0x5')](_0x2dd9d0));_0x5e44e0[_0x64a0('0x6')]();}};};