Explorar o código

add TooManyRequestsException to silent_errors

jomo %!s(int64=9) %!d(string=hai) anos
pai
achega
06895cdd81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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