mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix wrong error messages
This commit is contained in:
parent
e3c4d9a9ec
commit
6510c3f6b9
2 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||
location = determineInstallation();
|
||||
if (location.isEmpty()) {
|
||||
throw ErrorEvent.expected(
|
||||
new IOException("Unable to find installation of " + toTranslatedString()));
|
||||
new IOException("Unable to find installation of " + toTranslatedString().getValue()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -729,7 +729,7 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
|||
if (location.isEmpty()) {
|
||||
location = determineInstallation();
|
||||
if (location.isEmpty()) {
|
||||
throw new IOException("Unable to find installation of " + toTranslatedString());
|
||||
throw new IOException("Unable to find installation of " + toTranslatedString().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue