From 2e412933a730b3e0a4f6d5ad6c4c5d0901b7a201 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 22 Jan 2019 19:13:12 +0530 Subject: [PATCH] log db path --- oml/item/icons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oml/item/icons.py b/oml/item/icons.py index 212af9c..43c78d4 100644 --- a/oml/item/icons.py +++ b/oml/item/icons.py @@ -79,7 +79,7 @@ class Icons(dict): c.close() conn.close() except: - logger.debug('failed to insert icon %s', id, exc_info=True) + logger.debug('failed to insert icon %s (%s)', id, self._db, exc_info=True) def __delitem__(self, id): sql = 'DELETE FROM icon WHERE id = ?' @@ -91,7 +91,7 @@ class Icons(dict): c.close() conn.close() except: - logger.debug('failed to delete icon %s', id) + logger.debug('failed to delete icon %s (%s)', id, self._db) def clear(self, prefix): try: