Built motion from commit a679711e.|2.6.15
[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 _0x1f89=['stringify','stop','./utils','../../../../config/logger','routing','consequence','info','getMustacheRender','next','[%s][NOOP]\x20%s'];(function(_0x10d26e,_0x304ba4){var _0x24c727=function(_0x4e6bba){while(--_0x4e6bba){_0x10d26e['push'](_0x10d26e['shift']());}};_0x24c727(++_0x304ba4);}(_0x1f89,0x14c));var _0x91f8=function(_0x31e8e5,_0x2dded1){_0x31e8e5=_0x31e8e5-0x0;var _0x48bf2d=_0x1f89[_0x31e8e5];return _0x48bf2d;};'use strict';var utils=require(_0x91f8('0x0'));var logger=require(_0x91f8('0x1'))(_0x91f8('0x2'));exports[_0x91f8('0x3')]=function(_0x1e1e76,_0x2373fc){return function(_0x4cbfee){try{logger[_0x91f8('0x4')]('[%s][NOOP]\x20%s',_0x1e1e76,utils[_0x91f8('0x5')](_0x2373fc[0x0],this));_0x4cbfee[_0x91f8('0x6')]();}catch(_0x2a6da3){logger['error'](_0x91f8('0x7'),_0x1e1e76,JSON[_0x91f8('0x8')](_0x2a6da3));_0x4cbfee[_0x91f8('0x9')]();}};};