错误修正

This commit is contained in:
2024-02-05 16:47:36 +08:00
parent 5cda84797b
commit 719cd2d8e7
5 changed files with 29 additions and 23 deletions

View File

@@ -50,6 +50,7 @@ public class MainHostedService : BackgroundService
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
_logger.LogInformation("Command argument detected, execute for each database");
var command = _config["Command"];
if (!string.IsNullOrEmpty(command))
{