-
Notifications
You must be signed in to change notification settings - Fork 711
The "You need to re-run the 'configure' command" message is a bit ugly #3157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We do call |
Mikhail Glushenkov [email protected] writes:
|
I have actually encountered this once or twice, but right now am having problems reproducing. |
I don't believe it does. I'll take a look. |
It doesn't, but one approach to this is to replace its |
I'm not sure about this now; should I write a |
You're right, it doesn't need a |
The root cause turned out to be that we only used |
Great, thanks for working on this. |
Fixes haskell#3157. The wrapText helper is used to format all error messages. Previously, it was only used to format IOException errors; other exceptions would be formatted incorrectly.
Today I stumbled upon Cabal's "you need to reconfigure" message and noticed that not only is it >100 columns wide, but it doesn't have a terminating newline,
As far as bugs go this is pretty minor, but it seems like it shouldn't be difficult to fix. It seems that ideally
ConfigStateFileError
would have aText
instance and whoever is catching this exception would use it one way or another.The text was updated successfully, but these errors were encountered: