Parcourir la source

Ignore null errors, they're internal API errors

Zed il y a 9 mois
Parent
commit
dae68b4f13
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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