Skip to content

Commit 803d046

Browse files
committed
Using console.error
1 parent 80d7acf commit 803d046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports.createServer = function(config) {
2020
throw new Error("Specify `hydrater_function`");
2121
}
2222
config.logger = config.logger || console.log;
23-
config.errLogger = config.errLogger || console.warn;
23+
config.errLogger = config.errLogger || console.error;
2424

2525
// Load configuration and initialize server
2626
var hydraterEndpoint = require('./handlers/hydrater.js');

0 commit comments

Comments
 (0)