From 66f174b1f1371d93ef9bef55be4a99255efab305 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Fri, 13 Oct 2023 15:49:40 +0200 Subject: [PATCH] JAL-1601 Set job status to server error if collecting results throws an uncaught exception --- src/jalview/ws2/actions/BaseTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/ws2/actions/BaseTask.java b/src/jalview/ws2/actions/BaseTask.java index 387ca69..b5a5158 100644 --- a/src/jalview/ws2/actions/BaseTask.java +++ b/src/jalview/ws2/actions/BaseTask.java @@ -207,6 +207,7 @@ public abstract class BaseTask implements TaskI catch (Exception e) { eventHandler.fireTaskException(e); + setStatus(JobStatus.SERVER_ERROR); throw e; } } -- 1.7.10.2