From: Mateusz Warowny Date: Fri, 24 Sep 2021 13:43:42 +0000 (+0200) Subject: JAL-3878 Change SERVER_ERROR.isSubmitted to false. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cc4dc8e354640ad8b2c5b522f7a61a469546fa10;p=jalview.git JAL-3878 Change SERVER_ERROR.isSubmitted to false. Some server errors may occur before the job is submitted. It's safer to associate the error with the job not being submitted. --- diff --git a/src/jalview/ws2/WSJobStatus.java b/src/jalview/ws2/WSJobStatus.java index 056decf..73e5fd8 100755 --- a/src/jalview/ws2/WSJobStatus.java +++ b/src/jalview/ws2/WSJobStatus.java @@ -36,9 +36,9 @@ public enum WSJobStatus case FINISHED: case BROKEN: case FAILED: - case SERVER_ERROR: case CANCELLED: return true; + case SERVER_ERROR: case INVALID: case READY: default: