mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-29 05:56:30 +02:00
handling 99 error message
This commit is contained in:
parent
51375059c1
commit
74c7e6528f
2 changed files with 10 additions and 0 deletions
|
@ -753,6 +753,12 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
"Error placing the hold with the registry: {err}",
|
||||
messages.ERROR,
|
||||
)
|
||||
elif err.is_connection_error():
|
||||
self.message_user(
|
||||
request,
|
||||
"Error connecting to the registry",
|
||||
messages.ERROR,
|
||||
)
|
||||
else:
|
||||
# all other type error messages, display the error
|
||||
self.message_user(request, err, messages.ERROR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue