Fix exception handler exception

This commit is contained in:
calzoneman 2013-11-14 16:44:40 -06:00
parent d09d7ad64e
commit f8e4a3fc34
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@ function retrieveIPs(cb) {
var d = domain.create(); var d = domain.create();
d.on("error", function (err) { d.on("error", function (err) {
Logger.errlog.log(err.trace()); if (err.trace)
Logger.errlog.log(err.trace());
else
Logger.errlog.log(err);
}); });
d.run(function () { d.run(function () {