Browse Source

add TooManyRequestsException to silent_errors

jomo 9 years ago
parent
commit
06895cdd81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/response.js

+ 1 - 1
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