jj: throw exception instead of swallowing
This commit is contained in:
@@ -157,7 +157,7 @@ Public Class Firebird
|
||||
Return True
|
||||
Catch ex As Exception
|
||||
_logger.Error(ex, $"Error in ExecuteNonQuery while executing command: '{SqlCommand}'")
|
||||
Return False
|
||||
Throw ex
|
||||
End Try
|
||||
End Function
|
||||
|
||||
@@ -200,7 +200,7 @@ Public Class Firebird
|
||||
Return oResult
|
||||
Catch ex As Exception
|
||||
_logger.Error(ex, $"Error in ReturnScalar while executing command: '{SqlQuery}'")
|
||||
Return Nothing
|
||||
Throw ex
|
||||
End Try
|
||||
End Function
|
||||
|
||||
|
||||
Reference in New Issue
Block a user