Преглед изворни кода

Ignore null errors, they're internal API errors

Zed пре 9 месеци
родитељ
комит
dae68b4f13
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/apiutils.nim

+ 1 - 1
src/apiutils.nim

@@ -8,7 +8,7 @@ const
   rlRemaining = "x-rate-limit-remaining"
   rlReset = "x-rate-limit-reset"
   rlLimit = "x-rate-limit-limit"
-  errorsToSkip = {doesntExist, tweetNotFound, timeout, unauthorized, badRequest}
+  errorsToSkip = {null, doesntExist, tweetNotFound, timeout, unauthorized, badRequest}
 
 var pool: HttpPool