From 7035265feaa8c2e2835f4e1a7d7ab4031ed9908a Mon Sep 17 00:00:00 2001 From: Benedikt Meier Date: Tue, 12 Mar 2024 16:52:44 +0100 Subject: [PATCH] set variable by Exception to false --- src/main/java/edu/harvard/iq/dataverse/DatasetServiceBean.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/edu/harvard/iq/dataverse/DatasetServiceBean.java b/src/main/java/edu/harvard/iq/dataverse/DatasetServiceBean.java index fd34442d634..340770e88ee 100644 --- a/src/main/java/edu/harvard/iq/dataverse/DatasetServiceBean.java +++ b/src/main/java/edu/harvard/iq/dataverse/DatasetServiceBean.java @@ -710,6 +710,7 @@ public void exportAllDatasets(boolean forceReExport) { fileHandlerSuceeded = true; } catch (IOException | SecurityException ex) { Logger.getLogger(DatasetServiceBean.class.getName()).log(Level.SEVERE, null, ex); + fileHandlerSuceeded = false; } if (fileHandlerSuceeded) {