X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/d8f3785bb69288663f4cc46bf4d609c6770452d5..98d137c3e945a09f76e85bd18238558c668fdca4:/syncer.go diff --git a/syncer.go b/syncer.go index bf2a5ff..297405b 100644 --- a/syncer.go +++ b/syncer.go @@ -137,7 +137,7 @@ func (s *Syncer) Flush(ctx context.Context) error { } if failure != nil { - return failure + return fmt.Errorf("flush durable writes: %w", failure) } select {