From: Darren Date: Tue, 11 Dec 2012 12:20:48 +0000 (+0000) Subject: Stack traces on uncaught exceptions X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=caff44fe056ce7e72157065795401044ea5d8d53;p=KiwiIRC.git Stack traces on uncaught exceptions --- diff --git a/server/kiwi.js b/server/kiwi.js index 36c2c5b..1361071 100755 --- a/server/kiwi.js +++ b/server/kiwi.js @@ -164,6 +164,7 @@ function setProcessUid() { // Make sure Kiwi doesn't simply quit on an exception process.on('uncaughtException', function (e) { console.log('[Uncaught exception] ' + e); + console.log(e.stack); });