Custom error handling #2521
Unanswered
ChaplyginWezom
asked this question in
Q&A
Replies: 1 comment 8 replies
-
See #1225. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I've tried to write my own custom error handler, so I can override message given from Laravel's
ModelNotFoundException
.But, in my case exception is being thrown inside of
@canFind
directive, then catched and completely replaced with generic WebonyxError
Is it intended behaviour due to some security concerns or was it just overlooked feature? Because I saw that in some earlier version of Lighthouse this exception was never catched for
@can
directiveBeta Was this translation helpful? Give feedback.
All reactions