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) {
|
} catch (IOException e) {
|
||||||
throw new IllegalStateException("Can't read image file: "
|
throw new IllegalStateException("Can't read image file: "
|
||||||
+ fileInfo, e);
|
+ fileInfo, e);
|
||||||
|
} catch (UserMistakeException e) {
|
||||||
|
throw e;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new UserMistakeException("Sorry, we were unable to process "
|
throw new UserMistakeException("Sorry, we were unable to process "
|
||||||
+ "the photo you provided. Please try another photo.");
|
+ "the photo you provided. Please try another photo.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue