Skip to content

Commit

Permalink
chore: wrap error on fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Jan 2, 2025
1 parent 5793172 commit 45d5132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/jfrogplugin/uploaders/helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (a *Uploader) Upload(_ ppi.Plugin, artifactType, _, hint string, targetSpec

access, err := Upload(ctx, reader, a.Client, targetURL, creds)
if err != nil {
return nil, fmt.Errorf("failed to upload")
return nil, fmt.Errorf("failed to upload: %w", err)
}

return func() ppi.AccessSpec {
Expand Down

0 comments on commit 45d5132

Please sign in to comment.