From 379c121350709dbe4f7ae47b0e3429be72dc9bb3 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Mon, 3 Mar 2014 17:55:55 -0600 Subject: [PATCH] Fix urlRetrieve error handler --- lib/get-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/get-info.js b/lib/get-info.js index 0dd3abcb..0bff86ac 100644 --- a/lib/get-info.js +++ b/lib/get-info.js @@ -24,7 +24,7 @@ var urlRetrieve = function (transport, options, callback) { // This should cut down on needing to restart the server var d = domain.create(); d.on("error", function (err) { - Logger.errlog.log(err.trace()); + Logger.errlog.log(err.stack); Logger.errlog.log("urlRetrieve failed: " + err); Logger.errlog.log("Request was: " + options.host + options.path); callback(503, err);