refine http info bar

This commit is contained in:
DismissedLight
2024-07-22 13:42:31 +08:00
parent ebbaf0e36a
commit 8dd74c6c89

View File

@@ -75,6 +75,7 @@ internal static class HttpRequestMessageBuilderExtension
catch (OperationCanceledException)
{
showInfo = false;
throw;
}
catch (Exception ex)
{
@@ -191,8 +192,10 @@ internal static class HttpRequestMessageBuilderExtension
if (exception.InnerException is { } inner)
{
builder.AppendLine(new string('-', 40));
builder.AppendLine("------------------ Inner Exception ------------------");
ProcessException(builder, inner);
}
builder.AppendLine("------------------ End ------------------");
}
}