From bc377b87f8e08bd54eb63b83558dfed7a296f29e Mon Sep 17 00:00:00 2001 From: Rachel Chen Date: Fri, 3 Jan 2025 16:08:23 -0800 Subject: [PATCH] exception --- snuba/manual_jobs/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snuba/manual_jobs/runner.py b/snuba/manual_jobs/runner.py index 55ebaa99b0..b9e336125f 100644 --- a/snuba/manual_jobs/runner.py +++ b/snuba/manual_jobs/runner.py @@ -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()}")