Ticket #7204 (new defect)
Config loader should die on error
| Reported by: | nkantrowitz | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.13 |
| Component: | general | Version: | 0.12dev |
| Severity: | normal | Keywords: | |
| Cc: | nkantrowitz |
Description
Configuration.parse_if_needed should die if self.parser.read(self.filename) returns [] as this indicates it wasn't able to read the file. This generally happens either if a permission error prevents trac.ini from being read, or if the path to a parent config is invalid. A more helpful error message is desirable in either case.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


