Merge pull request +9218 from c9/fix/collab-logging

[Trivial] Need to convert data to a string
This commit is contained in:
Tim Robinson 2015-09-10 10:49:13 +02:00
commit ccad022894

View File

@ -128,7 +128,7 @@ Vfs.prototype._watchConnection = function(pid) {
function onStderr(data) {
// @todo collab stderr logs
console.log("VFS stderr [" + pid + "]: " + data);
that.logger.log({message: data, pid: pid});
that.logger.log({message: data.toString(), pid: pid});
}
master.on("disconnect", onError);