Skip to content

Commit

Permalink
exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Chen authored and Rachel Chen committed Jan 4, 2025
1 parent 6005751 commit bc377b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snuba/manual_jobs/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def run_job(job_spec: JobSpec) -> JobStatus:
if not job_spec.is_async:
current_job_status = _set_job_status(job_spec.job_id, JobStatus.FINISHED)
job_logger.info("[runner] job execution finished")
except BaseException as e:
except Exception as e:
current_job_status = _set_job_status(job_spec.job_id, JobStatus.FAILED)
job_logger.error(f"[runner] job execution failed {e}")
job_logger.info(f"[runner] exception {traceback.format_exc()}")
Expand Down

0 comments on commit bc377b8

Please sign in to comment.