Skip to content
Snippets Groups Projects
Commit 70815ae7 authored by Nicolas Noble's avatar Nicolas Noble
Browse files

Merge pull request #3878 from murgatroid99/node_remove_log_lines

Stop outputting log lines from Node library by default
parents 5519985e 5fccd901
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,6 @@ function normalizeKey(key) {
function validate(key, value) {
if (_.endsWith(key, '-bin')) {
if (!(value instanceof Buffer)) {
console.log(value.constructor.toString());
throw new Error('keys that end with \'-bin\' must have Buffer values');
}
} else {
......
......@@ -597,10 +597,6 @@ function Server(options) {
throw new Error('Server is already running');
}
this.started = true;
console.log('Server starting');
_.each(handlers, function(handler, handler_name) {
console.log('Serving', handler_name);
});
server.start();
/**
* Handles the SERVER_RPC_NEW event. If there is a handler associated with
......
......@@ -86,7 +86,6 @@ describe('Async functionality', function() {
});
readStream.on('error', function (error) {
console.log(error);
});
});
......
......@@ -71,7 +71,7 @@ var fakeSuccessfulGoogleCredentials = {
var fakeFailingGoogleCredentials = {
getRequestMetadata: function(service_url, callback) {
setTimeout(function() {
callback(new Error("Authorization failure"));
callback(new Error('Authorization failure'));
}, 0);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment