diff --git a/bin/storjshare-daemon.js b/bin/storjshare-daemon.js index 510c766..066e3b1 100755 --- a/bin/storjshare-daemon.js +++ b/bin/storjshare-daemon.js @@ -23,5 +23,5 @@ if (!storjshare_daemon.foreground) { } dnode(api.methods) - .on('warn', (err) => api.logger.error(err.message)) + .on('error', (err) => api.logger.warn(err.message)) .listen(config.daemonRpcPort, config.daemonRpcAddress);