diff --git a/ccm-cms/src/com/arsdigita/cms/ui/ImageUploadComponent.java b/ccm-cms/src/com/arsdigita/cms/ui/ImageUploadComponent.java index 04457b6e4..00d092d0e 100644 --- a/ccm-cms/src/com/arsdigita/cms/ui/ImageUploadComponent.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/ImageUploadComponent.java @@ -140,7 +140,7 @@ public class ImageUploadComponent extends Form implements ImageComponent { return image; } catch (IOException ex) { ImagesPane.S_LOG.error("Error loading image from file", ex); - throw new FormProcessException(ex.getMessage()); + throw new FormProcessException(ex); } }