aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/logger.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/utility/logger.py b/wqflask/utility/logger.py
index 0d374f1a..6a8b3e7e 100644
--- a/wqflask/utility/logger.py
+++ b/wqflask/utility/logger.py
@@ -78,8 +78,9 @@ class GNLogger:
"""Log SQL command, optionally invoking a timed fun"""
self.info(description,sqlcommand)
if fun:
- self.info("Invoking function")
- return fun(sqlcommand)
+ result = fun(sqlcommand)
+ self.info("result:",result)
+ return result
def collect(self,fun,*args):
"""Collect arguments and use fun to output one by one"""