From 628f18e0db4303b7be62ba132370780e04b04257 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 7 Nov 2022 17:55:25 -0800 Subject: [PATCH] Log when closing sql connections. --- voussoirkit/worms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/voussoirkit/worms.py b/voussoirkit/worms.py index db12070..41dbfc7 100644 --- a/voussoirkit/worms.py +++ b/voussoirkit/worms.py @@ -249,9 +249,11 @@ class Database(metaclass=abc.ABCMeta): if self._worms_transaction_owner: self.rollback() + log.loud('Closing sql_read.') self.sql_read.close() del self.sql_read + log.loud('Closing sql_write.') self.sql_write.close() del self.sql_write