From 4347128187a23cfe75a01fa37b93fecc144296b4 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 8 Jan 2026 13:36:37 -0600 Subject: Redirect to "Job Summary" page for default error handler. Redirect to the "Job Summary" page for any job that completed with an error. --- uploader/background_jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/background_jobs.py b/uploader/background_jobs.py index 9d9f4b8..cc1f58b 100644 --- a/uploader/background_jobs.py +++ b/uploader/background_jobs.py @@ -27,7 +27,7 @@ HandlerType = Callable[[dict], Response] def __default_error_handler__(job: dict) -> Response: - return redirect(url_for("background-jobs.job_error", job_id=job["job_id"])) + return redirect(url_for("background-jobs.job_summary", job_id=job["job_id"])) def register_handlers( job_type: str, -- cgit 1.4.1