Built motion from commit 85328c08.|2.5.50
[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 _0xba03=['routing','consequence','[%s][NOOP]\x20%s','next','stop','./utils'];(function(_0x39e164,_0x2cb93b){var _0x13fa6b=function(_0x511cb2){while(--_0x511cb2){_0x39e164['push'](_0x39e164['shift']());}};_0x13fa6b(++_0x2cb93b);}(_0xba03,0x161));var _0x3ba0=function(_0x1dcdb5,_0x13b7c6){_0x1dcdb5=_0x1dcdb5-0x0;var _0x30d81e=_0xba03[_0x1dcdb5];return _0x30d81e;};'use strict';var utils=require(_0x3ba0('0x0'));var logger=require('../../../../config/logger')(_0x3ba0('0x1'));exports[_0x3ba0('0x2')]=function(_0x181de7,_0x21aef2){return function(_0x13b217){try{logger['info'](_0x3ba0('0x3'),_0x181de7,utils['getMustacheRender'](_0x21aef2[0x0],this));_0x13b217[_0x3ba0('0x4')]();}catch(_0x1a768b){logger['error']('[%s][NOOP]\x20%s',_0x181de7,JSON['stringify'](_0x1a768b));_0x13b217[_0x3ba0('0x5')]();}};};