[後端] 修改排程log

This commit is contained in:
dev02 2023-11-16 17:55:38 +08:00
parent 0c27f39fcb
commit a4c98e4b64

View File

@ -271,6 +271,7 @@ namespace BackendWorkerService.Quartz.Jobs
catch (Exception ex) catch (Exception ex)
{ {
await task_Detail.WorkFail("WeatherAPI", "api_rain", ex.Message.ToString()); await task_Detail.WorkFail("WeatherAPI", "api_rain", ex.Message.ToString());
logger.LogError($"apirain error: {ex}, {ex.InnerException}, {ex.Message}");
} }
} }