Skip to content

Commit dae68b4

Browse files
committed
Ignore null errors, they're internal API errors
1 parent 8516ebe commit dae68b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apiutils.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const
88
rlRemaining = "x-rate-limit-remaining"
99
rlReset = "x-rate-limit-reset"
1010
rlLimit = "x-rate-limit-limit"
11-
errorsToSkip = {doesntExist, tweetNotFound, timeout, unauthorized, badRequest}
11+
errorsToSkip = {null, doesntExist, tweetNotFound, timeout, unauthorized, badRequest}
1212

1313
var pool: HttpPool
1414

0 commit comments

Comments
 (0)