Print database errors.

This commit is contained in:
2022-02-26 19:49:09 -08:00
parent 5f502fedb5
commit 4800307b49

View File

@@ -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)