Database: Log Connection string for GetDatatableWithConnection

This commit is contained in:
Jonathan Jenne 2021-03-11 09:36:01 +01:00
parent 5bdfa29d08
commit 344435987a

View File

@ -196,8 +196,7 @@ Public Class MSSQLServer
End Using
End Using
Catch ex As Exception
_Logger.Warn($"GetDatatableWithConnection failed SQLCommand [{SqlCommand}] - ERROR: {ex.Message}")
_Logger.Warn($"GetDatatableWithConnection failed with SQLCommand [{SqlCommand}] and ConnectionString [{MaskConnectionString(ConnectionString)}]")
Return Nothing
End Try
End Function