Cancel form submission if a listener has failed
[gpl/argeo-suite.git] / org.argeo.app.core / src / org / argeo / app / image / ImageProcessor.java
index 7fd308de8d1e6c87b21113b0aaf9b20d223e159f..72c334f31b63bea9c5a8ac56c47dab0be6403e1a 100644 (file)
@@ -66,9 +66,9 @@ public class ImageProcessor {
                                                Files.deleteIfExists(temp);
                                        }
                                } else {
-                                       try (OutputStream out = outSupplier.call()) {
-                                               copyWithMetadata(() -> in, metadata);
-                                       }
+//                                     try (OutputStream out = outSupplier.call()) {
+                                       copyWithMetadata(() -> in, metadata);
+//                                     }
                                }
                        }
                } catch (Exception e) {