mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-29 14:06:32 +02:00
more debugging
This commit is contained in:
parent
3dbafb5220
commit
a9710dafde
3 changed files with 3 additions and 2 deletions
|
@ -65,6 +65,7 @@ class RegistryError(Exception):
|
|||
def __init__(self, *args, code=None, note=None,**kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.code = code
|
||||
# note is a string that can be used to provide additional context
|
||||
self.note = note
|
||||
|
||||
def should_retry(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue