优化日志
This commit is contained in:
parent
8a369ff049
commit
8ce26fe28d
@ -99,7 +99,6 @@ namespace SJZY.Track.Application
|
|||||||
options.SucceedMessageExpiredAfter = configuration.GetValue<int>("CAP:SucceedMessageExpiredAfter");
|
options.SucceedMessageExpiredAfter = configuration.GetValue<int>("CAP:SucceedMessageExpiredAfter");
|
||||||
options.FallbackWindowLookbackSeconds =
|
options.FallbackWindowLookbackSeconds =
|
||||||
configuration.GetValue<int>("CAP:FallbackWindowLookbackSeconds");
|
configuration.GetValue<int>("CAP:FallbackWindowLookbackSeconds");
|
||||||
options.EnableSubscriberParallelExecute = true;
|
|
||||||
|
|
||||||
options.UseDashboard(dashboardOptions =>
|
options.UseDashboard(dashboardOptions =>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using Nest;
|
using Nest;
|
||||||
|
using SJZY.Expand.ABP.Core.PublicMethords;
|
||||||
using SJZY.Expand.ElasticSearch.Services;
|
using SJZY.Expand.ElasticSearch.Services;
|
||||||
using SJZY.Track.Domain.Aggregates.TrackDetailsAggregate;
|
using SJZY.Track.Domain.Aggregates.TrackDetailsAggregate;
|
||||||
using SJZY.Track.Domain.Consts;
|
using SJZY.Track.Domain.Consts;
|
||||||
@ -175,7 +176,7 @@ internal class TrackDetailsRepository : ElasticSearchContextAbstract<TrackDetail
|
|||||||
|
|
||||||
if (!r.IsValid)
|
if (!r.IsValid)
|
||||||
{
|
{
|
||||||
throw new Exception($"轨迹更新失败,原因:{r.DebugInformation}。");
|
throw new Exception($"轨迹更新失败{track.ToJson()},原因:{r.DebugInformation}。");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user