c61f64b231a8e6f9c9d84123c904e0e1203eab70
[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 _0x1f0b=['stringify','./utils','routing','consequence','info','getMustacheRender','[%s][NOOP]\x20%s'];(function(_0x4bf313,_0x264da3){var _0x523fdf=function(_0x4d7ae2){while(--_0x4d7ae2){_0x4bf313['push'](_0x4bf313['shift']());}};_0x523fdf(++_0x264da3);}(_0x1f0b,0x1b3));var _0xb1f0=function(_0x41e7d1,_0x36806d){_0x41e7d1=_0x41e7d1-0x0;var _0x210c92=_0x1f0b[_0x41e7d1];return _0x210c92;};'use strict';var utils=require(_0xb1f0('0x0'));var logger=require('../../../../config/logger')(_0xb1f0('0x1'));exports[_0xb1f0('0x2')]=function(_0x2acfed,_0x55d551){return function(_0xcf38cb){try{logger[_0xb1f0('0x3')]('[%s][NOOP]\x20%s',_0x2acfed,utils[_0xb1f0('0x4')](_0x55d551[0x0],this));_0xcf38cb['next']();}catch(_0x39691c){logger['error'](_0xb1f0('0x5'),_0x2acfed,JSON[_0xb1f0('0x6')](_0x39691c));_0xcf38cb['stop']();}};};