mirror of https://github.com/icedream/ts3bot.git
log.fatal does - in fact - not exist.
parent
5cd0c0ee19
commit
3624c69d70
2
app.js
2
app.js
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue