diff --git a/repo/manifest/committed_manifest_manager.go b/repo/manifest/committed_manifest_manager.go index 2b2ec1f6890..f6782058edf 100644 --- a/repo/manifest/committed_manifest_manager.go +++ b/repo/manifest/committed_manifest_manager.go @@ -181,7 +181,7 @@ func (m *committedManifestManager) loadCommittedContentsLocked(ctx context.Conte m.loadManifestContentsLocked(manifests) if err := m.maybeCompactLocked(ctx); err != nil { - return errors.Errorf("error auto-compacting contents") + return errors.Wrap(err, "error auto-compacting contents") } return nil