Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Echoes.prototype.addEcho = function(echoClient){
debugger;
if(isDisabled()) return null;
var clientConf = this.configuration[echoClient]
var client = this.getEchoClient(echoClient)
try {
this.debuggers[echoClient] = Reflect.construct(client, [clientConf])
} catch(error) {
debug("Error managed in addEcho [ elastic=%s can turn it off ]", DISABLESTR);
debug(error);
}
return client
}
Echoes.prototype.setDefaultEcho = function(echo){