Instead the exception is caught up the chain and reported as an
“Application” error. Why is my try/catch statement being completely ignored
by Lucee 4.5.2 ?
After upgrading from Railo 4.2 to Lucee 4.5.2 the following code does
not catch the exception:
Oh, that is so easy to test and fix - did you isolate this to a separate template without any application logic? Try returntype “any” or enclosing return [e.StackTrace] (note the brackets) - then it works!> <!— : Returns a fake stacktrace for debugging —>
Instead the exception is caught up the chain and reported as an
“Application” error. Why is my try/catch statement being completely
ignored by Lucee 4.5.2 ?
After upgrading from Railo 4.2 to Lucee 4.5.2 the following code does
not catch the exception:
Oh, that is so easy to test and fix - did you isolate this to a separate
template without any application logic? Try returntype “any” or enclosing
return [e.StackTrace] (note the brackets) - then it works!
Instead the exception is caught up the chain and reported as an
“Application” error. Why is my try/catch statement being completely
ignored by Lucee 4.5.2 ?
After upgrading from Railo 4.2 to Lucee 4.5.2 the following code does
not catch the exception:
Oh, that is so easy to test and fix - did you isolate this to a separate
template without any application logic? Try returntype “any” or enclosing
return [e.StackTrace] (note the brackets) - then it works!
Instead the exception is caught up the chain and reported as an
“Application” error. Why is my try/catch statement being completely
ignored by Lucee 4.5.2 ?