Report underlying exception when terminal open fails

This commit is contained in:
crschnick 2023-04-25 19:36:25 +00:00
parent 7f700ee326
commit d07d59ad7d

View file

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