Logging should work on selfhosts, not public

This commit is contained in:
Kwoth
2022-01-06 14:42:17 +01:00
parent ac6e0c2f84
commit 51a396ec9f
2 changed files with 15 additions and 14 deletions

View File

@@ -154,7 +154,8 @@ public sealed class Bot
{
// execute all migrators
var migrators = Services.GetServices<IConfigMigrator>();
foreach (var migrator in migrators) migrator.EnsureMigrated();
foreach (var migrator in migrators)
migrator.EnsureMigrated();
}
private IEnumerable<object> LoadTypeReaders(Assembly assembly)