about summary refs log tree commit diff
path: root/wqflask/db/webqtlDatabaseFunction.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-08-23 22:02:26 +0300
committerBonfaceKilz2022-08-31 23:14:30 +0300
commit83fe39abf6e515baec46bdedb9e7b4d246bebdfc (patch)
tree2258715f4adcdb95334b40cc9d72a98d8414c83a /wqflask/db/webqtlDatabaseFunction.py
parentff4185334ddc5e6e32fdb1bf44ad6ea9065b0e01 (diff)
downloadgenenetwork2-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/db/webqtlDatabaseFunction.py')
0 files changed, 0 insertions, 0 deletions