Ver Fonte

Ignore null errors, they're internal API errors

Zed há 9 meses atrás
pai
commit
dae68b4f13
1 ficheiros alterados com 1 adições e 1 exclusões
  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