mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] more descriptive message in 'cannot sudo' exception (EA-145268)
GitOrigin-RevId: bb1771619a017cb626458484d5046c9a9468a625
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cb8768af6a
commit
1936f047e3
@@ -169,7 +169,7 @@ object ExecUtil {
|
||||
GeneralCommandLine(getTerminalCommand("Install", script.absolutePath))
|
||||
}
|
||||
else -> {
|
||||
throw UnsupportedOperationException("Unsupported OS/desktop: ${SystemInfo.OS_NAME}/${SystemInfo.SUN_DESKTOP}")
|
||||
throw UnsupportedOperationException("Cannot `sudo` on this system - no suitable utils found")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user