mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-07-15 11:16:13 +12:00
Clarify error message
This commit is contained in:
parent
f3a905a7fe
commit
87051e1c98
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue