fix 日志输出,补充脱敏

This commit is contained in:
2024-06-17 16:12:30 +08:00
parent bc6d4af0d9
commit a83d6b1702
2 changed files with 3 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ public class GainfoUpdateService : IGainfoUpdateService
}
catch (Exception ex)
{
_logger.LogError(ex, "{werk}同步处理异常:{message}", werk, ex.Message);
werkInfo.HandleMessage = ex.Message;
werkInfo.LastSyncEndTime = DateTime.Now;
werkInfo.BackgroundJobKey = string.Empty;