From 9a9b19e6e25bdccb0e2501ccb4f0b77019814ff7 Mon Sep 17 00:00:00 2001 From: Tobias Hagemann Date: Tue, 28 Apr 2020 17:48:48 +0200 Subject: [PATCH] fixed error message and removed wrong comment [ci skip] --- .../org/cryptomator/ui/migration/MigrationRunController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/migration/MigrationRunController.java b/main/ui/src/main/java/org/cryptomator/ui/migration/MigrationRunController.java index c33f9d72f..aad1914d7 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/migration/MigrationRunController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/migration/MigrationRunController.java @@ -135,8 +135,8 @@ public class MigrationRunController implements FxController { vault.setState(VaultState.NEEDS_MIGRATION); missingCapability.set(e.getMissingCapability()); window.setScene(capabilityErrorScene.get()); - }).onError(FileNameTooLongException.class, e -> { // including RuntimeExceptions - LOG.error("Migration failed for because the storage device does not support long filenames.", e); + }).onError(FileNameTooLongException.class, e -> { + LOG.error("Migration failed because the underlying file system does not support long filenames.", e); vault.setState(VaultState.NEEDS_MIGRATION); errorComponent.cause(e).window(window).returnToScene(startScene.get()).build().showErrorScene(); window.setScene(impossibleScene.get());