-
Notifications
You must be signed in to change notification settings - Fork 871
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
Unclear exception and wrong exceptions order #7538
Comments
hi @PhantomYdn, Do you have an example query that produce this issue ? I understood the problem and I'm aware of how to fix it, but I haven't reproduced it yet, I would prefer to have the test case with for the fix. Regards. |
hi @PhantomYdn, I wrote the test, reproduced and fixed, it will be released with 2.2.24 and 3.0.0, closing this. Regards |
@luigidellaquila Has this been released? I'm not finding it any of the release notes. assuming that I didn't miss it. Thanks! |
Hi @marktshaw It was released with 2.2.24, probably it was not properly added to the release notes Thanks Luigi |
OrientDB Version: 2.2.22
Java Version: 8+
I have the following SQL:
Execution failed, but instead of meaningful exception I see the following:
By digging into the code I found a place where real exception is being lost:
As you can see error during
doc.undo()
overriding real exception.In my case validation error was about wrong type of a link for field
account
.Please consider making original exception available for a user instead of secondary generated.
The text was updated successfully, but these errors were encountered: