jj: throw exception instead of swallowing

This commit is contained in:
Jonathan Jenne
2018-11-09 15:54:51 +01:00
parent 5748d37227
commit 734becb971
10 changed files with 15 additions and 389 deletions

View File

@@ -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