diff options
author | Munyoki Kilyungi | 2022-08-23 22:02:26 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-08-31 23:14:30 +0300 |
commit | 83fe39abf6e515baec46bdedb9e7b4d246bebdfc (patch) | |
tree | 2258715f4adcdb95334b40cc9d72a98d8414c83a /wqflask/runserver.py | |
parent | ff4185334ddc5e6e32fdb1bf44ad6ea9065b0e01 (diff) | |
download | genenetwork2-83fe39abf6e515baec46bdedb9e7b4d246bebdfc.tar.gz |
Replace debug with error logs in Except block pre/post a session
Put error logs in an Except block for easier parsing and re-word the
error messages in them.
* wqflask/wqflask/views.py: Delete "utility.logger" and "logger".
(connect_db): Delete "g._database". Delete "logger.debug()". Use
"app.logger.error" in Except block.
(shutdown_session): Delete "logger.debug()". Use "app.logger.error"
in Except block.
Diffstat (limited to 'wqflask/runserver.py')
0 files changed, 0 insertions, 0 deletions