Skip to content

Commit 86d7330

Browse files
committed
fix double traceback logging
1 parent a8c6b7e commit 86d7330

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dev/create_gcs_query_plan.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,5 +252,5 @@ def main():
252252
),
253253
" ",
254254
)
255-
LOGGER.exception(f"(1) Unhandled exception:\n{traceback_formatted}")
255+
LOGGER.critical(f"(1) Unhandled exception:\n{traceback_formatted}")
256256
sys.exit(1)

dev/prioritize_tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,5 @@ def main():
147147
),
148148
" ",
149149
)
150-
LOGGER.exception(f"(1) Unhandled exception:\n{traceback_formatted}")
150+
LOGGER.critical(f"(1) Unhandled exception:\n{traceback_formatted}")
151151
sys.exit(1)

scripts/1-fetch/github_fetch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,5 @@ def main():
204204
),
205205
" ",
206206
)
207-
LOGGER.exception(f"(1) Unhandled exception:\n{traceback_formatted}")
207+
LOGGER.critical(f"(1) Unhandled exception:\n{traceback_formatted}")
208208
sys.exit(1)

0 commit comments

Comments
 (0)