Skip to content

Commit

Permalink
Merge pull request #318 from alcionai/wrap-manifest-compaction-error
Browse files Browse the repository at this point in the history
Wrap error instead of clobbering it
  • Loading branch information
ashmrtn authored Mar 22, 2024
2 parents ec3d100 + 0afa2bd commit 4147115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo/manifest/committed_manifest_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4147115

Please sign in to comment.