Skip to content
Snippets Groups Projects
Commit 7d4b0d61 authored by therealwolf's avatar therealwolf :100:
Browse files

Merge branch 'removeConsole' into 'master'

Removed console.log

See merge request !9
parents 4d2e34a8 7c46f8ed
No related branches found
No related tags found
1 merge request!9Removed console.log
......@@ -56,8 +56,8 @@ class Hive extends EventEmitter {
});
this.callAsync = Promise.promisify(this.call);
this.signedCallAsync = Promise.promisify(this.signedCall);
console.log("Alternate endpoints: ", this.options.alternative_api_endpoints);
console.log("Failover Threshold (errors): ", this.options.failover_threshold);
// console.log("Alternate endpoints: ", this.options.alternative_api_endpoints);
// console.log("Failover Threshold (errors): ", this.options.failover_threshold);
this.notifyError = this.notifyError.bind(this);
}
......@@ -401,7 +401,7 @@ class Hive extends EventEmitter {
this.api_index = 0;
}
let nextEndpoint = this.alternative_api_endpoints[this.api_index];
console.log("failing over. old endpoint was: ", current_url, " new one is: ", nextEndpoint);
// console.log("failing over. old endpoint was: ", current_url, " new one is: ", nextEndpoint);
this.setOptions({url: nextEndpoint});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment