log.fatal does - in fact - not exist.

develop
Icedream 2015-10-16 09:43:32 +02:00
parent 5cd0c0ee19
commit 3624c69d70
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -31,7 +31,7 @@ doShutdownAsync = function(cb) {
}; };
process.on("uncaughtException", function(err) { process.on("uncaughtException", function(err) {
log.fatal("Shutting down due to an uncaught exception!", err); log.error("Shutting down due to an uncaught exception!", err);
app.shutdownSync(); app.shutdownSync();
}); });