fix(backup): commented out error handling for an error that doesn't exist yet
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s

This commit is contained in:
Seaswimmer 2024-01-31 14:21:54 -05:00
parent add1e3ef1d
commit fdb5d323eb
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -112,15 +112,17 @@ class Backup(commands.Cog):
repo_e.append(f"Repository {name} already exists.") repo_e.append(f"Repository {name} already exists.")
continue continue
except errors.AuthenticationError as err: # This is commented out because errors.AuthenticationError is not yet implemented in Red 3.5.5's Downloader cog.
repo_e.append(f"Authentication error while adding repository {name}. See logs for more information.") # Rather, it is only in the development version and will be added in version 3.5.6 (or whatever the next version is).
self.log.exception( # except errors.AuthenticationError as err:
"Something went wrong whilst cloning %s (to revision %s)", # repo_e.append(f"Authentication error while adding repository {name}. See logs for more information.")
url, # self.log.exception(
branch, # "Something went wrong whilst cloning %s (to revision %s)",
exc_info=err, # url,
) # branch,
continue # exc_info=err,
# )
# continue
except errors.CloningError as err: except errors.CloningError as err:
repo_e.append(f"Cloning error while adding repository {name}. See logs for more information.") repo_e.append(f"Cloning error while adding repository {name}. See logs for more information.")