Print database errors.

This commit is contained in:
Kyle Isom 2022-02-26 19:49:09 -08:00
parent 5f502fedb5
commit 4800307b49
1 changed files with 2 additions and 1 deletions

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)