Ensure error messages are toStringed

This commit is contained in:
Nick O'Leary
2015-06-16 16:09:53 +01:00
parent 48df31d7b7
commit 9ca102cf81
8 changed files with 23 additions and 23 deletions

View File

@@ -58,7 +58,7 @@ var flowNodes = module.exports = {
flowNodes.startFlows();
});
}).otherwise(function(err) {
log.warn(log._("nodes.flows.error",{err:err}));
log.warn(log._("nodes.flows.error",{message:err.toString()}));
console.log(err.stack);
});
},