Log more details about error messages.

master
Jim Heising 2016-12-26 15:35:10 -08:00
parent ef56d54a28
commit d70128aaf0
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function processRequest(req, res) {
return writeResponse(res, 502, "host cannot be found.")
}
else {
console.log("Proxy Request Error: " + err.toString());
console.log("Proxy Request Error (" + remoteURL + "): " + err.toString());
return writeResponse(res, 500);
}