From 4f83955ba2ebe4321bc9c080e779ba939d1f898a Mon Sep 17 00:00:00 2001 From: Besmir Beqiri Date: Wed, 15 Jan 2025 17:56:32 +0100 Subject: [PATCH] Remove logging the exception thrown by the `onFileSelected` handler --- .../java/one/jpro/platform/file/picker/WebFileSavePicker.java | 1 - 1 file changed, 1 deletion(-) diff --git a/jpro-file/src/main/java/one/jpro/platform/file/picker/WebFileSavePicker.java b/jpro-file/src/main/java/one/jpro/platform/file/picker/WebFileSavePicker.java index a829081e..597ecb19 100644 --- a/jpro-file/src/main/java/one/jpro/platform/file/picker/WebFileSavePicker.java +++ b/jpro-file/src/main/java/one/jpro/platform/file/picker/WebFileSavePicker.java @@ -141,7 +141,6 @@ final void showDialog() { if (!tempFile.delete()) { logger.warn("Could not delete temporary file {}", tempFile.getAbsolutePath()); } - logger.error("Error while downloading file", ex); return CompletableFuture.failedFuture(ex); }); } catch (IOException ex) {