[後端] 修改排程log
This commit is contained in:
parent
0c27f39fcb
commit
a4c98e4b64
@ -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}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user