more debugging

This commit is contained in:
matthewswspence 2024-12-05 14:50:49 -06:00
parent 3dbafb5220
commit a9710dafde
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
3 changed files with 3 additions and 2 deletions

View file

@ -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):