-
Notifications
You must be signed in to change notification settings - Fork 8
Feature Request - Error pop up when launching misconfigured repl #63
Comments
Well, it should show an error pop-up if running an executable fails. And I can't really debug on Windows... For anyone interested, it's handled here: ide-haskell-repl/src/interactive-process.ts Lines 45 to 66 in 451fddd
My best guess, on Windows it doesn't throw but instead ends with (hopefully) nonzero exit code? But I have no idea, honestly. |
Your guess is correct there is no exception on windows so the catch block does not emit the error. |
So here's an idea: if, say, repl exits in less than a second after being started, something probably went wrong there, so might as well show a message explaining this? |
I think that is a pretty good idea, probably as good as it can be given the absence of an exception on winDoz |
=> works
=> REPL just fails (data entry / live reload panel just vanishes leaving an empty main panel)
Would be good to have an atom error notification with a message like: GHCI wrapper path invalid. Please update ide-haskell-repl settings to correct this.
The text was updated successfully, but these errors were encountered: