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:
parent
487b4307eb
commit
9d24d990b3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue