😎修复发送异常日志事件处理错误
This commit is contained in:
parent
4c46fb9139
commit
5705289ea9
@ -63,7 +63,7 @@ public class AppEventSubscriber : IEventSubscriber, ISingleton, IDisposable
|
|||||||
|
|
||||||
var webTitle = await _sysConfigService.GetConfigValueByCode<string>(ConfigConst.SysWebTitle);
|
var webTitle = await _sysConfigService.GetConfigValueByCode<string>(ConfigConst.SysWebTitle);
|
||||||
var title = $"{webTitle} 系统异常";
|
var title = $"{webTitle} 系统异常";
|
||||||
await _serviceScope.ServiceProvider.GetRequiredService<SysEmailService>().SendEmail(JSON.Serialize(context.GetPayload<string>()), title);
|
await _serviceScope.ServiceProvider.GetRequiredService<SysEmailService>().SendEmail(context.GetPayload<string>(), title);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user