Ticket #339 (new enhancement)
Opened 3 months ago
Fusebox errors (cfcatch) should include path
| Reported by: | mgara | Owned by: | scorfield |
|---|---|---|---|
| Type: | enhancement | Priority: | Normal |
| Milestone: | Component: | Miscellaneous | |
| Version: | 5.5.1 | Severity: | normal |
| Keywords: | circuit error filepath | Cc: |
Description
I recently had difficulty determining the source of an error in a circuit.xml.cfm file so I modified fuseboxCircuit.cfc (reload method) to expose the path as well as the circuit name. I was able to immediately fix the problem.
THE BUG ISSUE:
Circuit files are all called circuit.xml.cfm (though you can change this they still end up as all having the same name).
If the circuit file that had the problem had not been found then the path to the file would have been shown. But because it did exist only the name of the file (the really obvious name) was output in the error which was not helpful. Including the path (or optionally via a global var) in file references would greatly speed up development.
