Skip to content
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

Why isn't DBConcurrencyException sent to IExceptionInterceptor?" #697

Open
fravalpin opened this issue Jan 23, 2024 · 1 comment
Open

Why isn't DBConcurrencyException sent to IExceptionInterceptor?" #697

fravalpin opened this issue Jan 23, 2024 · 1 comment

Comments

@fravalpin
Copy link

First of all, congratulations on the work being done here.

I've added an IExceptionInterceptor but I see that, for example, the DBConcurrencyException is not redirected to the interceptors.
Is there a reason for this? Is it possible to add it in one of the future versions (I would even dare to say why not all possible exceptions)?

This happens in the Database class. The exception is thrown without going through OnExceptionInternal.

Thank you!

@schotime
Copy link
Owner

schotime commented Feb 2, 2024

Its because it happens after the statements have executed and only db executed statements are forwarded onto the IExceptionInterceptor at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants