lib/helper/service/json-wsp/client.js
function(err) {

        var message = 'Error occured while performing a JSON-WSP request. ' +
            err.message + '\n' +
            JSON.stringify({
                options : curOpts
            }, null, '  ').yellow;

        logger.error(message);
    }
function(err) {

        var message = 'Error occured while performing a JSON-WSP request. ' +
            err.message + '\n' +
            JSON.stringify({
                options : curOpts
            }, null, '  ').yellow;

        logger.error(message);
    }
function ( err ) { var message = 'Error occured while performing a JSON-WSP request. ' + err . message + '\n' + JSON . stringify ( { options : curOpts } , null , '  ' ) . yellow ; logger . error ( message ) ; }
Default error handler
Default error handler