fix(backup): logger, not log

This commit is contained in:
Seaswimmer 2024-01-31 14:22:46 -05:00
parent fdb5d323eb
commit 6dfeb97180
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -116,7 +116,7 @@ class Backup(commands.Cog):
# Rather, it is only in the development version and will be added in version 3.5.6 (or whatever the next version is).
# except errors.AuthenticationError as err:
# repo_e.append(f"Authentication error while adding repository {name}. See logs for more information.")
# self.log.exception(
# self.logger.exception(
# "Something went wrong whilst cloning %s (to revision %s)",
# url,
# branch,
@ -126,7 +126,7 @@ class Backup(commands.Cog):
except errors.CloningError as err:
repo_e.append(f"Cloning error while adding repository {name}. See logs for more information.")
self.log.exception(
self.logger.exception(
"Something went wrong whilst cloning %s (to revision %s)",
url,
branch,
@ -136,7 +136,7 @@ class Backup(commands.Cog):
except OSError:
repo_e.append(f"OS error while adding repository {name}. See logs for more information.")
self.log.exception(
self.logger.exception(
"Something went wrong trying to add repo %s under name %s",
url,
name