Built motion from commit bab6f49e.|2.6.17
[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 _0x7bb9=['routing','info','[%s][NOOP]\x20%s','getMustacheRender','error','stringify','../../../../config/logger'];(function(_0x31eb67,_0x9bc8c0){var _0x2a8cb8=function(_0xac1c5d){while(--_0xac1c5d){_0x31eb67['push'](_0x31eb67['shift']());}};_0x2a8cb8(++_0x9bc8c0);}(_0x7bb9,0x1b8));var _0x97bb=function(_0x819464,_0x46fc91){_0x819464=_0x819464-0x0;var _0x49dcc0=_0x7bb9[_0x819464];return _0x49dcc0;};'use strict';var utils=require('./utils');var logger=require(_0x97bb('0x0'))(_0x97bb('0x1'));exports['consequence']=function(_0x4c507f,_0x21f26f){return function(_0x2bd73e){try{logger[_0x97bb('0x2')](_0x97bb('0x3'),_0x4c507f,utils[_0x97bb('0x4')](_0x21f26f[0x0],this));_0x2bd73e['next']();}catch(_0x4438e4){logger[_0x97bb('0x5')](_0x97bb('0x3'),_0x4c507f,JSON[_0x97bb('0x6')](_0x4438e4));_0x2bd73e['stop']();}};};