mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-08-16 18:20:43 +03:00
Show nonempty stdout and/or stderr message when installing tool returns with exit code not equal to 0. Fix issue #502
This commit is contained in:
parent
8f4f1714c3
commit
f39b1b2368
@ -88,7 +88,12 @@ object StackCommandLine {
|
||||
}
|
||||
|
||||
if (output.getExitCode != 0) {
|
||||
HaskellNotificationGroup.logErrorBalloonEvent(project, output.getStderr)
|
||||
if (output.getStderr.nonEmpty) {
|
||||
HaskellNotificationGroup.logErrorBalloonEvent(project, output.getStderr)
|
||||
}
|
||||
if (output.getStdout.nonEmpty) {
|
||||
HaskellNotificationGroup.logErrorBalloonEvent(project, output.getStdout)
|
||||
}
|
||||
}
|
||||
output.getExitCode == 0 && !output.isCancelled && !output.isTimeout
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user