Clarify error message

This commit is contained in:
crschnick 2023-07-09 03:49:30 +00:00
parent f3a905a7fe
commit 87051e1c98
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ public class FileOpener {
} catch (Exception e) { } catch (Exception e) {
ErrorEvent.fromThrowable(e) ErrorEvent.fromThrowable(e)
.description("Unable to launch editor " + editor.toTranslatedString() .description("Unable to launch editor " + editor.toTranslatedString()
+ ". Maybe try to use a different one in the settings.") + ".\nMaybe try to use a different editor in the settings.")
.handle(); .handle();
} }
} }

View file

@ -26,7 +26,7 @@ public class TerminalHelper {
} catch (Exception ex) { } catch (Exception ex) {
throw new IOException( throw new IOException(
"Unable to launch terminal " + type.toTranslatedString() + ": " + ex.getMessage() "Unable to launch terminal " + type.toTranslatedString() + ": " + ex.getMessage()
+ ". Maybe try to use a different one in the settings.", + ".\nMaybe try to use a different terminal in the settings.",
ex); ex);
} }
} }