diff options
author | Wolfgang Müller | 2021-05-03 22:14:29 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-03 22:30:15 +0200 |
commit | a096cc81cfa65a166127a3a7e0942c277fbb66b8 (patch) | |
tree | af66dc73649c19d1700baf694bf8e83e20627b6c /quarg.1 | |
parent | 299aa62f5d22a5942e0b3a61eaa6cc0353770b0e (diff) | |
download | quarg-a096cc81cfa65a166127a3a7e0942c277fbb66b8.tar.gz |
main: Handle SQLAlchemy errors more nicely
Instead of giving the user a screen full of backtraces, catch any errors
SQLAlchemy can run into when preparing or executing the query and report
only the error message to the user.
We include the print loop in the try/except block because an upcoming
commit will add a handler for KeyboardInterrupt.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions