up log level

This commit is contained in:
matthewswspence 2024-12-05 14:21:02 -06:00
parent 8b473d5e18
commit 3dbafb5220
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
4 changed files with 5 additions and 4 deletions

View file

@ -62,10 +62,10 @@ class RegistryError(Exception):
- 2501 - 2502 Something malicious or abusive may have occurred
"""
def __init__(self, *args, code=None, msg=None,**kwargs):
def __init__(self, *args, code=None, note=None,**kwargs):
super().__init__(*args, **kwargs)
self.code = code
self.msg = msg
self.note = note
def should_retry(self):
return self.code == ErrorCode.COMMAND_FAILED