fix: 修复nakuru无法运行的问题

This commit is contained in:
RockChinQ
2024-02-12 13:37:41 +08:00
parent abc19e78b8
commit 991a0aa5f6
3 changed files with 23 additions and 9 deletions

View File

@@ -151,7 +151,7 @@ class Controller:
except Exception as e:
self.ap.logger.error(f"处理请求时出错 query_id={query.query_id}: {e}")
self.ap.logger.debug(f"Traceback: {traceback.format_exc()}")
# traceback.print_exc()
traceback.print_exc()
finally:
self.ap.logger.debug(f"Query {query} processed")