Print database errors.
This commit is contained in:
parent
5f502fedb5
commit
4800307b49
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue