What is the difference of commandbox server.json "...
# box-products
j
What is the difference of commandbox server.json "errorPages" "500" and lucee's "Settings - Error 500"? Ultimately I'm seeing error logs for production from undertow failing to display the errorPages defined, but when I try to reproduce an error locally I get Lucee error handler, how can I verify or cause undertow to fail and show its error handler instead?
z
guess it really does depend on the error, for example if the error happens before the request even reaches lucee code, it's going to be undertow or tomcat showing the 500 error. sample stack traces always help
stacktraces explain everything (tm)
1
b
@Jordan Clark you'll almost never see Undertow's 500. That only fires if something terrible happens in Undertow before Lucee runs anything
Like Zac said, you need to show us the errors your seeing.