From: Mateusz Warowny Date: Fri, 13 Oct 2023 13:49:40 +0000 (+0200) Subject: JAL-1601 Set job status to server error if collecting results throws an uncaught... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=66f174b1f1371d93ef9bef55be4a99255efab305;p=jalview.git JAL-1601 Set job status to server error if collecting results throws an uncaught exception --- 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; } }