瀏覽代碼

add TooManyRequestsException to silent_errors

jomo 9 年之前
父節點
當前提交
06895cdd81
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/response.js

+ 1 - 1
lib/response.js

@@ -13,7 +13,7 @@ var human_status = {
 
 
 
 
 // print these, but without stacktrace
 // 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
 // handles HTTP responses
 // +request+ a http.IncomingMessage
 // +request+ a http.IncomingMessage