aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorWolfgang Müller2021-05-03 22:14:29 +0200
committerWolfgang Müller2021-05-03 22:30:15 +0200
commita096cc81cfa65a166127a3a7e0942c277fbb66b8 (patch)
treeaf66dc73649c19d1700baf694bf8e83e20627b6c /.gitignore
parent299aa62f5d22a5942e0b3a61eaa6cc0353770b0e (diff)
downloadquarg-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions