perf: 优化控制台输出

This commit is contained in:
RockChinQ
2024-02-16 14:11:22 +08:00
parent ae358dd6d0
commit 06c8773975
5 changed files with 6 additions and 4 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")