NIHVIVO-1026 merge 5508 from the branch.
This commit is contained in:
parent
2de4504d1b
commit
ff1e81fe65
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ public class ImageUploadHelper {
|
|||
} catch (IOException e) {
|
||||
throw new IllegalStateException("Can't read image file: "
|
||||
+ fileInfo, e);
|
||||
} catch (UserMistakeException e) {
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
throw new UserMistakeException("Sorry, we were unable to process "
|
||||
+ "the photo you provided. Please try another photo.");
|
||||
|
|
Loading…
Add table
Reference in a new issue