-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev UI - display better error messages instead of NOT_FOUND
in Qute templates
#14872
Comments
/cc @mkouba |
Hi @SaumyaSingh1, it's definitely possible. The "regular" qute users can control this behavior via the |
ok great, basically instead of that |
Hm, I don't think we would be able to print what's exactly empty. We could print the original expression tag, e.g. |
TBH, I think we should trigger an exception by default. I don't see any case where you would like to end up with a NOT_FOUND when pushing to production. |
oh for me this problem was fixed weeks ago :) |
Ok, so I think that we could use a result mapper that throws an exception with some minimal info. |
NOT_FOUND
in Qute NOT_FOUND
in Qute templates
- throw an exception instead of NOT_FOUND, resolves quarkusio#14872 - sort beans and observers, application components go first - show shortened package where appropriate
- throw an exception instead of NOT_FOUND, resolves quarkusio#14872 - sort beans and observers, application components go first - show shortened package where appropriate
- throw an exception instead of NOT_FOUND, resolves quarkusio#14872 - sort beans and observers, application components go first - show shortened package where appropriate
- throw an exception instead of NOT_FOUND, resolves quarkusio#14872 - sort beans and observers, application components go first - use FQCN where possible
Description
I am working on endpoints page in RESTEasy Reactive extension. I am inserting expression values in my template, most of the times I get
RESOURCES_NOT_FOUND
orNOT_FOUND
. That means I am looking at fields that don't exist.I think that an error message that included which part was null would help me a lot, more than RESOURCES_NOT_FOUND :)
Thanks
The text was updated successfully, but these errors were encountered: