We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c1231 commit 5381c41Copy full SHA for 5381c41
1 file changed
tools/code/extractor/Gateway.cs
@@ -87,6 +87,7 @@ private static ListGateways GetListGateways(IServiceProvider provider)
87
var dtoOption = await uri.TryGetDto(pipeline, cancellationToken);
88
return dtoOption.Map(dto => (uri.Name, dto));
89
})
90
+ // Handle scenarios where the SKU doesn't support gateways
91
.Catch((HttpRequestException exception) =>
92
exception.StatusCode == HttpStatusCode.InternalServerError
93
&& exception.Message.Contains("Request processing failed", StringComparison.OrdinalIgnoreCase)
0 commit comments