92c4ef6bf244b89972f2540afb22523b2bf91d83
[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 _0x2cc9=['[%s][NOOP]\x20%s','next','error','stringify','./utils','../../../../config/logger','routing','consequence'];(function(_0x3143eb,_0x4ca843){var _0x52d19b=function(_0x18110d){while(--_0x18110d){_0x3143eb['push'](_0x3143eb['shift']());}};_0x52d19b(++_0x4ca843);}(_0x2cc9,0x1ac));var _0x92cc=function(_0x51ae86,_0x46cf71){_0x51ae86=_0x51ae86-0x0;var _0x5cb646=_0x2cc9[_0x51ae86];return _0x5cb646;};'use strict';var utils=require(_0x92cc('0x0'));var logger=require(_0x92cc('0x1'))(_0x92cc('0x2'));exports[_0x92cc('0x3')]=function(_0xcd36d7,_0xe29664){return function(_0x58a161){try{logger['info'](_0x92cc('0x4'),_0xcd36d7,utils['getMustacheRender'](_0xe29664[0x0],this));_0x58a161[_0x92cc('0x5')]();}catch(_0x1687ea){logger[_0x92cc('0x6')](_0x92cc('0x4'),_0xcd36d7,JSON[_0x92cc('0x7')](_0x1687ea));_0x58a161['stop']();}};};