From 1149417b56fb47de6747fad9913bef3af7eedcca Mon Sep 17 00:00:00 2001 From: jkhsjdhjs Date: Tue, 25 Jul 2023 22:28:08 +0000 Subject: [PATCH] quotes: replace non-functional print() with self.log.error() --- bot/quotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/quotes.py b/bot/quotes.py index e5e6627..eacd458 100644 --- a/bot/quotes.py +++ b/bot/quotes.py @@ -87,7 +87,7 @@ class Quotes(DatabasePlugin): self.con.commit() except Error as ex: # Rollback transaction on error - print(ex) + self.log.error(ex) self.con.rollback() else: query = None