Open kevinobee opened 5 years ago
https://github.com/CluedIn-io/Enricher.VatLayer/blob/ae711603e9664cc54e650a1cdb6b33e6db571697/src/VatLayerExternalSearchProvider.cs#L109
Missing else block to handle successful calls to client.ExecuteTaskAsync<VatLayerResponse>(request) that return invalid data.
client.ExecuteTaskAsync<VatLayerResponse>(request)
Failure paths in public methods should either throw an exception or return an error result. In both cases the failure condition should be logged.
throw
https://github.com/CluedIn-io/Enricher.VatLayer/blob/ae711603e9664cc54e650a1cdb6b33e6db571697/src/VatLayerExternalSearchProvider.cs#L109
Missing else block to handle successful calls to
client.ExecuteTaskAsync<VatLayerResponse>(request)
that return invalid data.Failure paths in public methods should either
throw
an exception or return an error result. In both cases the failure condition should be logged.