Skip to content

Commit

Permalink
Merge pull request #6526 from lognaturel/generic-error
Browse files Browse the repository at this point in the history
Remove Generic Exception prefix for form submission errors
  • Loading branch information
seadowg authored Nov 28, 2024
2 parents f0ce2a6 + 240f110 commit 11bb40d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ public String uploadOneSubmission(Instance instance, String urlString) throws Fo
}

} catch (Exception e) {
throw new FormUploadException(FAIL + "Generic Exception: "
+ (e.getMessage() != null ? e.getMessage() : e.toString()));
throw new FormUploadException(e.getMessage() != null ? e.getMessage() : e.toString());
}

markSubmissionComplete(instance);
Expand Down

0 comments on commit 11bb40d

Please sign in to comment.