X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/d8f3785bb69288663f4cc46bf4d609c6770452d5..03ef9525ba0e62037b55606b851ee746967a003f:/syncer.go?ds=sidebyside 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 {