add returns for fallback getdatatable calls
This commit is contained in:
parent
dbbe9cdd62
commit
6eac545959
@ -15,11 +15,11 @@ Public Class ClassDataASorDB
|
||||
oReturnDT = oTableResult.Table
|
||||
If IsNothing(oReturnDT) Then
|
||||
_Logger.Warn($"Datatable from ApPServData is nothing [{pAppServDT} - {pAppServFilter}] - Failover via DB")
|
||||
GetDatatable(pSQL, "", "", "", "DB")
|
||||
Return GetDatatable(pSQL, "", "", "", "DB")
|
||||
End If
|
||||
Catch ex As Exception
|
||||
_Logger.Warn($"Error getting ApPServData [{pAppServDT} - {pAppServFilter}]")
|
||||
GetDatatable(pSQL, "", "", "", "DB")
|
||||
Return GetDatatable(pSQL, "", "", "", "DB")
|
||||
End Try
|
||||
Else
|
||||
oReturnDT = Database.GetDatatable(pSQL)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user