1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-06 03:55:36 -05:00

Add empty oauth token logging

This commit is contained in:
Zed
2023-08-31 01:31:27 +02:00
parent 282ce8b0e9
commit 82beb5da8c

View File

@@ -67,6 +67,7 @@ template fetchImpl(result, fetchBody) {.dirty.} =
var account = await getGuestAccount(api)
if account.oauthToken.len == 0:
echo "[accounts] Empty oauth token, account: ", account.id
raise rateLimitError()
try: