Ticket #510 (closed enhancement: invalid)
Don't call exitWith on parse error, instead return error or throw exception
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.6.0.1 |
| Severity: | minor | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: |
Description
Please consider modifying readPackageDescription so that it doesn't end up calling dieWithLocation. It seems the decision of what to do when a parse error occurs is better made in the application rather than the library.
Change History
Note: See
TracTickets for help on using
tickets.
