diff --git a/collect_app/src/main/java/org/odk/collect/android/upload/InstanceServerUploader.java b/collect_app/src/main/java/org/odk/collect/android/upload/InstanceServerUploader.java index 110b8c82987..463d3b101cf 100644 --- a/collect_app/src/main/java/org/odk/collect/android/upload/InstanceServerUploader.java +++ b/collect_app/src/main/java/org/odk/collect/android/upload/InstanceServerUploader.java @@ -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);