From 6dfeb97180b945e9e187cb73244970d3e08f2d7c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 31 Jan 2024 14:22:46 -0500 Subject: [PATCH] fix(backup): logger, not log --- backup/backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup/backup.py b/backup/backup.py index 624e27b..518a1bd 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -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