EDMIService: Fix error logging
This commit is contained in:
parent
66bec3714a
commit
511b16560a
@ -43,6 +43,7 @@ Namespace Methods.Database.ExecuteNonQuery
|
||||
Return New ExecuteNonQueryResponse(oResult)
|
||||
Catch ex As Exception
|
||||
Logger.Warn("Error occurred while getting database scalar value!")
|
||||
Logger.Error(ex)
|
||||
Return New ExecuteNonQueryResponse(ex)
|
||||
End Try
|
||||
End Function
|
||||
|
||||
@ -47,6 +47,7 @@ Namespace Methods.Database.GetDatatable
|
||||
Return New GetDatatableResponse(oDatatable)
|
||||
Catch ex As Exception
|
||||
Logger.Warn("Error occurred while getting database table!")
|
||||
Logger.Error(ex)
|
||||
Return New GetDatatableResponse(ex)
|
||||
End Try
|
||||
End Function
|
||||
|
||||
@ -47,6 +47,7 @@ Namespace Methods.Database.GetScalarValue
|
||||
Return New GetScalarValueResponse(oDatatable)
|
||||
Catch ex As Exception
|
||||
Logger.Warn("Error occurred while getting database scalar value!")
|
||||
Logger.Error(ex)
|
||||
Return New GetScalarValueResponse(ex)
|
||||
End Try
|
||||
End Function
|
||||
|
||||
@ -61,7 +61,7 @@ Namespace Methods.GlobalIndexer.ImportFile
|
||||
|
||||
' Import the file
|
||||
Dim oNewFile As New NewFile.NewFileMethod(LogConfig, DatabaseIDB, DatabaseECM, GlobalState)
|
||||
Dim oResponse = oNewFile.Run(New NewFile.VersionFileRequest With {
|
||||
Dim oResponse = oNewFile.Run(New NewFile.NewFileRequest With {
|
||||
.File = pData.File,
|
||||
.BusinessEntity = pData.BusinessEntity,
|
||||
.KindType = pData.KindType,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user