mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 12:44:14 +01:00
adjust download manager initialization and some error logging
This commit is contained in:
parent
45ddf7b977
commit
f18493d7ee
3 changed files with 9 additions and 4 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue