-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail gracefully on account creation timeout
- Loading branch information
Showing
2 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,9 @@ def get_login_error(error_key): | |
"invalid_s3keys": _( | ||
'Login attempted with invalid Internet Archive s3 credentials.' | ||
), | ||
"request_timeout": _( | ||
"Servers are experiencing unusually high traffic, please try again later or email [email protected] for help." | ||
), | ||
"undefined_error": _('A problem occurred and we were unable to log you in'), | ||
} | ||
return LOGIN_ERRORS[error_key] | ||
|