We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0efe07 commit 40d1995Copy full SHA for 40d1995
src/Swashbuckle.AspNetCore.Cli/HostingApplication.cs
@@ -88,9 +88,10 @@ void OnEntryPointExit(Exception exception)
88
89
return services;
90
}
91
- catch (InvalidOperationException)
+ catch (InvalidOperationException ex)
92
{
93
- // We're unable to resolve the host, swallow the exception and return null
+ // We're unable to resolve the host, log the exception and return null
94
+ Console.Error.WriteLine(ex.ToString());
95
96
97
return null;
0 commit comments