CF will auto-cast an exception to a string, however the output varies wildly between Adobe and Lucee. Lucee gives a full HTML table if passing to writeOutput(), where Adobe only outputs the class name and error message. BoxLang errors. We may want to make this a compat behavior as I’m not sure how much sense it makes outside of debugging.
Activity
Show:
Brad WoodFebruary 12, 2025 at 5:47 AM
This is only going to be enabled with the compat module as it doesn’t seem to make a great deal of sense to be a core BL feature. If you want to convert an exception to a string in pure BL, you can use e.toString() or access the individual pieces of the exception such as e.stackTrace, e.message, etc
Fixed
Pinned fields
Click on the next to a field label to start pinning.
CF will auto-cast an exception to a string, however the output varies wildly between Adobe and Lucee. Lucee gives a full HTML table if passing to writeOutput(), where Adobe only outputs the class name and error message. BoxLang errors. We may want to make this a compat behavior as I’m not sure how much sense it makes outside of debugging.