Skip to content

Commit

Permalink
fix: save
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Sep 22, 2023
1 parent 733b8fc commit d2a737e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storer/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func Compact(ctx context.Context, basePath string, opts *Options, validate bool)

select {
case <-ctx.Done():
return ctx.Err()
return errors.Join(ctx.Err(), sharkyRecover.Save())
default:
}

Expand Down

0 comments on commit d2a737e

Please sign in to comment.