Print database errors.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user