Skip to content

Commit

Permalink
Add logging for note sync failure (#2932)
Browse files Browse the repository at this point in the history
(cherry picked from commit ed33d05)

Co-authored-by: Raymond Luong <[email protected]>
  • Loading branch information
Nateowami and RaymondLuong3 authored Jan 3, 2025
1 parent 56785eb commit 6f3e06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SIL.XForge.Scripture/Services/ParatextService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,7 @@ Dictionary<string, ParatextUserProfile> 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
Expand Down

0 comments on commit 6f3e06b

Please sign in to comment.