adjust download manager initialization and some error logging

This commit is contained in:
Stanley Dimant
2023-03-23 16:35:28 +01:00
parent 45ddf7b977
commit f18493d7ee
3 changed files with 9 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ public class ConfigurationMigrator : IHostedService
}
catch (Exception ex)
{
_logger.LogWarning("Failed to migrate, skipping", ex);
_logger.LogWarning(ex, "Failed to migrate, skipping");
}
}
@@ -66,7 +66,7 @@ public class ConfigurationMigrator : IHostedService
}
catch (Exception ex)
{
_logger.LogWarning("Failed to migrate ServerConfig", ex);
_logger.LogWarning(ex,"Failed to migrate ServerConfig");
}
}
}