优化日志

This commit is contained in:
李鹏军 2024-07-16 15:10:26 +08:00
parent 8a369ff049
commit 8ce26fe28d
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,6 @@ namespace SJZY.Track.Application
options.SucceedMessageExpiredAfter = configuration.GetValue<int>("CAP:SucceedMessageExpiredAfter");
options.FallbackWindowLookbackSeconds =
configuration.GetValue<int>("CAP:FallbackWindowLookbackSeconds");
options.EnableSubscriberParallelExecute = true;
options.UseDashboard(dashboardOptions =>
{

View File

@ -1,4 +1,5 @@
using Nest;
using SJZY.Expand.ABP.Core.PublicMethords;
using SJZY.Expand.ElasticSearch.Services;
using SJZY.Track.Domain.Aggregates.TrackDetailsAggregate;
using SJZY.Track.Domain.Consts;
@ -175,7 +176,7 @@ internal class TrackDetailsRepository : ElasticSearchContextAbstract<TrackDetail
if (!r.IsValid)
{
throw new Exception($"轨迹更新失败,原因:{r.DebugInformation}。");
throw new Exception($"轨迹更新失败{track.ToJson()},原因:{r.DebugInformation}。");
}
}