From e31b6da7814ab62efc102477fdee1051c6d952eb Mon Sep 17 00:00:00 2001 From: Raymond Luong Date: Thu, 2 Jan 2025 11:57:32 -0700 Subject: [PATCH] Add logging for note sync failure (cherry picked from commit ed33d050129e6622fe601927d943a1fcfaaa2f39) --- src/SIL.XForge.Scripture/Services/ParatextService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SIL.XForge.Scripture/Services/ParatextService.cs b/src/SIL.XForge.Scripture/Services/ParatextService.cs index 5ab541f99d..1ed857a268 100644 --- a/src/SIL.XForge.Scripture/Services/ParatextService.cs +++ b/src/SIL.XForge.Scripture/Services/ParatextService.cs @@ -2928,7 +2928,7 @@ Dictionary ptProjectUsers continue; if (!string.IsNullOrEmpty(note.SyncUserRef)) throw new DataNotFoundException( - "Could not find the matching comment for a note containing a sync user." + $"Could not find the matching comment for note {note.DataId} in thread {note.ThreadId} containing sync user {note.SyncUserRef}." ); // new comment added