mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Raise NoAccountsError when all accounts limited
This commit is contained in:
parent
19569bb19f
commit
28d3ed7d9f
3 changed files with 10 additions and 1 deletions
|
|
@ -97,6 +97,11 @@ routes:
|
|||
resp Http429, showError(
|
||||
&"Instance has been rate limited.<br>Use {link} or try again later.", cfg)
|
||||
|
||||
error NoAccountsError:
|
||||
const link = a("another instance", href = instancesUrl)
|
||||
resp Http429, showError(
|
||||
&"Instance has no available accounts.<br>Use {link} or try again later.", cfg)
|
||||
|
||||
extend rss, ""
|
||||
extend status, ""
|
||||
extend search, ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue