Fix import getting stuck on unexpected exception

This commit is contained in:
Sylvia van Os
2022-04-14 20:20:36 +02:00
parent eea5cdfdd0
commit 35747b7d9f

View File

@@ -55,7 +55,7 @@ public class MultiFormatImporter {
return new ImportExportResult(ImportExportResultType.Success);
} catch (ZipException e) {
return new ImportExportResult(ImportExportResultType.BadPassword);
} catch (IOException | FormatException | InterruptedException | JSONException | ParseException | NullPointerException e) {
} catch (Exception e) {
Log.e(TAG, "Failed to import data", e);
error = e.toString();
} finally {