Skip to content

Commit

Permalink
fix(config): Fix error without stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyno-zeta committed Feb 9, 2023
1 parent d3a7f5c commit 8a4a336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/s3-proxy/config/managercontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ func loadBusinessDefaultValues(out *Config) error {
dur, err := time.ParseDuration(item.Actions.GET.Config.SignedURLExpirationString)
// Check error
if err != nil {
return err
return errors.WithStack(err)
}
// Save
item.Actions.GET.Config.SignedURLExpiration = dur
Expand Down

0 comments on commit 8a4a336

Please sign in to comment.