EDMIService: Allow empty return values for GetScalarValue

This commit is contained in:
Jonathan Jenne 2022-01-18 15:26:51 +01:00
parent a29f058d58
commit cbb343bb17

View File

@ -40,9 +40,10 @@ Namespace Methods.Database.GetScalarValue
End Select
If oResult Is Nothing Then
LogAndThrow($"SQL Command did not return any results: [{pData.SqlCommand}]!")
End If
' Remove this in the future, empty return values for scalar should be allowed
'If oResult Is Nothing Then
' LogAndThrow($"SQL Command did not return any results: [{pData.SqlCommand}]!")
'End If
Return New GetScalarValueResponse(oResult)
Catch ex As Exception