1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00

GO-5639: Add missing error handling

This commit is contained in:
Sergey 2025-05-22 12:28:46 +02:00
parent 487b4307eb
commit 9d24d990b3
No known key found for this signature in database
GPG key ID: 3B6BEF79160221C6

View file

@ -170,7 +170,7 @@ func (h *readStoreTreeHook) AfterDiffManagersInit(ctx context.Context) error {
if err != nil {
return fmt.Errorf("mark read messages: %w", err)
}
h.source.MarkSeenHeads(ctx, diffManagerMentions, h.headsBeforeJoin)
err = h.source.MarkSeenHeads(ctx, diffManagerMentions, h.headsBeforeJoin)
if err != nil {
return fmt.Errorf("mark read mentions: %w", err)
}