fecff358812ea1071c436b07b0bfd57672cb11a4
[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 _0x7aba=['info','[%s][NOOP]\x20%s','next','stringify','./utils','../../../../config/logger','routing'];(function(_0x2bfffa,_0x28d329){var _0x1f6af6=function(_0x1c5524){while(--_0x1c5524){_0x2bfffa['push'](_0x2bfffa['shift']());}};_0x1f6af6(++_0x28d329);}(_0x7aba,0x1e0));var _0xa7ab=function(_0x3a4135,_0x21b062){_0x3a4135=_0x3a4135-0x0;var _0x14826e=_0x7aba[_0x3a4135];return _0x14826e;};'use strict';var utils=require(_0xa7ab('0x0'));var logger=require(_0xa7ab('0x1'))(_0xa7ab('0x2'));exports['consequence']=function(_0x3fe575,_0x12190e){return function(_0x321fdb){try{logger[_0xa7ab('0x3')](_0xa7ab('0x4'),_0x3fe575,utils['getMustacheRender'](_0x12190e[0x0],this));_0x321fdb[_0xa7ab('0x5')]();}catch(_0x4b567){logger['error']('[%s][NOOP]\x20%s',_0x3fe575,JSON[_0xa7ab('0x6')](_0x4b567));_0x321fdb['stop']();}};};