Commit 1a6e843c authored by Leo Iannacone's avatar Leo Iannacone

Merge remote-tracking branch 'github/master' into portable

parents e7aec292 9b071fa6
...@@ -37,6 +37,7 @@ get_disk_usage = (cb) -> ...@@ -37,6 +37,7 @@ get_disk_usage = (cb) ->
if stderr? if stderr?
error = '\n\t' + stderr.replace(/\n/g, '\n\t') error = '\n\t' + stderr.replace(/\n/g, '\n\t')
utils.errors_handler "disk usage error:", error utils.errors_handler "disk usage error:", error
if not stdout?
return return
result = {} result = {}
others = 0 others = 0
......
...@@ -114,7 +114,7 @@ errors_handler = (from, err, socket) -> ...@@ -114,7 +114,7 @@ errors_handler = (from, err, socket) ->
else else
msg = err msg = err
console.error from, msg console.error from, msg
socket.emit config.events.error, message if socket socket.emit config.events.error, msg if socket
return return
Tail::watchEvent = (e) -> Tail::watchEvent = (e) ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment