浏览代码

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