Add empty oauth token logging
This commit is contained in:
parent
282ce8b0e9
commit
82beb5da8c
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue