diff --git a/lib/winston/logger.js b/lib/winston/logger.js index e89f75ff0..87cd1e747 100755 --- a/lib/winston/logger.js +++ b/lib/winston/logger.js @@ -602,7 +602,7 @@ Logger.prototype._uncaughtException = function (err) { : this.exitOnError; function logAndWait(transport, next) { - transport.logException('uncaughtException', info, next, err); + transport.logException('uncaughtException: ' + err.message, info, next, err); } function gracefulExit() {