Fix urlRetrieve error handler

This commit is contained in:
calzoneman 2014-03-03 17:55:55 -06:00
parent db5b407635
commit 379c121350

View file

@ -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);