af4d2d3888f97489fb0436993f7c7f193e890d64
[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 _0xbe14=['routing','consequence','[%s][NOOP]\x20%s','getMustacheRender','next','stringify','../../../../config/logger'];(function(_0x586d4f,_0x131e08){var _0x511fec=function(_0x53a576){while(--_0x53a576){_0x586d4f['push'](_0x586d4f['shift']());}};_0x511fec(++_0x131e08);}(_0xbe14,0x12c));var _0x4be1=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xbe14[_0x4b369d];return _0x571a98;};'use strict';var utils=require('./utils');var logger=require(_0x4be1('0x0'))(_0x4be1('0x1'));exports[_0x4be1('0x2')]=function(_0x234583,_0x502cfc){return function(_0x20c891){try{logger['info'](_0x4be1('0x3'),_0x234583,utils[_0x4be1('0x4')](_0x502cfc[0x0],this));_0x20c891[_0x4be1('0x5')]();}catch(_0x18f973){logger['error'](_0x4be1('0x3'),_0x234583,JSON[_0x4be1('0x6')](_0x18f973));_0x20c891['stop']();}};};