Built motion from commit (unavailable).|2.5.22
[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 _0x5872=['[%s][NOOP]\x20%s','next','stop','routing'];(function(_0x10ff81,_0x251fbb){var _0x1fbf78=function(_0x3728f6){while(--_0x3728f6){_0x10ff81['push'](_0x10ff81['shift']());}};_0x1fbf78(++_0x251fbb);}(_0x5872,0x18b));var _0x2587=function(_0x95411e,_0x38b4c3){_0x95411e=_0x95411e-0x0;var _0x2c8718=_0x5872[_0x95411e];return _0x2c8718;};'use strict';var utils=require('./utils');var logger=require('../../../../config/logger')(_0x2587('0x0'));exports['consequence']=function(_0x28dc23,_0x44dc76){return function(_0x5aeabd){try{logger['info'](_0x2587('0x1'),_0x28dc23,utils['getMustacheRender'](_0x44dc76[0x0],this));_0x5aeabd[_0x2587('0x2')]();}catch(_0x595ac6){logger['error'](_0x2587('0x1'),_0x28dc23,JSON['stringify'](_0x595ac6));_0x5aeabd[_0x2587('0x3')]();}};};