-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
QueryAsync no longer throws SQL Exception from 1.50.* #563
Comments
Is there any update on this? It is currently an issue in our production codebase which we'd like to get resolved. |
This issue is related to #525 . It's a pretty big issue for me too, using a dirty fix in some
|
Any update on this? |
The lack of response on this issue is rather unsettling. We use Dapper heavily in some high value products and yet we don't seem to be receiving any support for a genuine issue. Please could I get some feedback? |
I'll take a look; I have a repro here - investigating. Edit: Oops; forgot to add the raiserror in my repro! But: looking, is the point The reality is that we can't always jump immediately onto everything - all time on this project has to come from somewhere, and we are only human, and often have many other things going on, whether coding or otherwise. PRs are more than welcome :) |
I think the issue here is the Edit: I realize this is exactly what @JeremyTCD said above - this is mainly by way of confirmation. |
Candidate fix has been pushed; I want a second set of eyeballs before I merge it, though - any chance @NickCraver ? #602 |
Make CommandBehavior optimizations more configurable
Awesome stuff guys, it there a NuGet release we can test it with? |
Fixed in the current release - closing out to cleanup |
I am using Dapper 1.50.2.0 and still facing the issue. when try to execute with ExecuteAsync using StoredProcedure. |
I am using 1.50.5 and this is still an issue with ExecuteScalar/ExecuteScalarAsync. |
We've run into an issue with the latest 1.50.* release when raising errors in SQL.
When calling
QueryAsync
on a stored procedure that selects a result set and then does aRaiseError
noSQLException
is thrown anymore. This used to be the behavior in 1.42.0.It's almost as if the error is being "swallowed" somewhere.
Example code:
Object
Stored Procedure
The text was updated successfully, but these errors were encountered: