Skip to content

Custom error returns and production environment #1219

Answered by ghost
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Update/Answer

production ended up not factoring into my question or issue. A utility function I was using in my rule was throwing an error without it being handled. With debug false in production the fallback error message was being used because of the error being thrown and not returned by the rule itself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
0 participants