mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-15 20:46:32 +00:00
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)
|
var account = await getGuestAccount(api)
|
||||||
if account.oauthToken.len == 0:
|
if account.oauthToken.len == 0:
|
||||||
|
echo "[accounts] Empty oauth token, account: ", account.id
|
||||||
raise rateLimitError()
|
raise rateLimitError()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue