From 06895cdd81e1d139b474110a98844c0a4588f643 Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 20 Sep 2015 21:35:46 +0200 Subject: [PATCH] add TooManyRequestsException to silent_errors --- lib/response.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/response.js b/lib/response.js index 8403ded..143967c 100644 --- a/lib/response.js +++ b/lib/response.js @@ -13,7 +13,7 @@ var human_status = { // print these, but without stacktrace -var silent_errors = ["ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNRESET", "EHOSTUNREACH", "ECONNREFUSED"]; +var silent_errors = ["ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNRESET", "EHOSTUNREACH", "ECONNREFUSED", "TooManyRequestsException"]; // handles HTTP responses // +request+ a http.IncomingMessage