-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Labels
Description
When I use the HealthChecksUI, I get many exception in the visual studio output console:
Exception thrown: 'Microsoft.Data.Sqlite.SqliteException' in Microsoft.Data.Sqlite.dll
Exception thrown: 'Microsoft.Data.Sqlite.SqliteException' in Microsoft.EntityFrameworkCore.Relational.dll
Exception thrown: 'Microsoft.Data.Sqlite.SqliteException' in Microsoft.Data.Sqlite.dll
Exception thrown: 'Microsoft.Data.Sqlite.SqliteException' in Microsoft.EntityFrameworkCore.Relational.dll
Exception thrown: 'System.InvalidOperationException' in Microsoft.Data.Sqlite.dll
Exception thrown: 'System.InvalidOperationException' in Microsoft.Data.Sqlite.dll
...
...
// this one repeat many times
Exception thrown: 'System.InvalidOperationException' in Microsoft.Data.Sqlite.dll
To test it, just create a new aspnet core web project and add this in the startup.cs. No need to add anything in the Configure section. If you remove the AddHealthChecksUI() line, there's no error.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllersWithViews();
services
.AddHealthChecksUI()
.AddHealthChecks();
}
Any idea?