You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example:
If a swagger endpoint gives an error , the code is swallowing the error:
internal async Task AddSwagger(string key, string endpoint)
{
try
{
var data = await GenerateFromSwaggerEndPoint(endpoint);
swaggers.Add(key, new BlocklyFileGenerator(data));
}
catch(Exception ex)
{
Console.WriteLine($"adding swagger {endpoint} throws error {ex?.Message}");
//swallowing error - should run even if the endpoint is not available
}
}
What should be an ok way to report ?
The text was updated successfully, but these errors were encountered:
For example:
If a swagger endpoint gives an error , the code is swallowing the error:
internal async Task AddSwagger(string key, string endpoint)
{
try
{
var data = await GenerateFromSwaggerEndPoint(endpoint);
What should be an ok way to report ?
The text was updated successfully, but these errors were encountered: