From 4800307b497bee380b452abe7dd02305876407f3 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 26 Feb 2022 19:49:09 -0800 Subject: [PATCH] Print database errors. --- chime/database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chime/database.py b/chime/database.py index b152922..6a5234d 100644 --- a/chime/database.py +++ b/chime/database.py @@ -42,6 +42,7 @@ class Database: if len(self.queued) > 0: self.store(self.queued.pop()) - except: + except Exception as exc: print('db error') + print(exc) self.queued.append(reading)