Ticket #53 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Adding original #cfcatch.detail# to <cfthrow> inside of <cfcatch type="all"> blocks

Reported by: Jordan Clark Owned by: scorfield
Type: defect Priority: low
Milestone: Beta 2 Component: Miscellaneous
Version: 5.0 Severity: minor
Keywords: cfcatch cfthrow extendedinfo Cc:

Description

A couple times I've run into problems figuring out what the actual error is when the fusebox is parsing the xml files. This is because the xmlParse() is wrapped in a <cfcatch type="all"> block which obscures the original error message. While it's suggestion is useful, it is also important to know what the original error actually was.

For this reason I suggest this simple solution of adding:

extendedinfo="#cfcatch.detail#"

on line 184 of fuseboxApplication.cfc

on line 143 of fuseboxCircuit.cfc

on line 118 of fuseboxWriter.cfc

Attachments

Change History

Changed 2 years ago by scorfield

  • owner changed from sean@corfield.org to scorfield
  • status changed from new to assigned

This is a great idea! There are several other <cfcatch type="any"> in the framework that would benefit from this.

Changed 2 years ago by scorfield

  • status changed from assigned to closed
  • resolution set to fixed

(In [156]) Fixes #53 by added extendedinfo="#cfcatch.detail#" to a number of <cfthrow> tags.

Note: See TracTickets for help on using tickets.