Skip to content

fix: Better Error message for error downloading plugin#323

Merged
kodiakhq[bot] merged 2 commits intomainfrom
better-404-error
May 23, 2024
Merged

fix: Better Error message for error downloading plugin#323
kodiakhq[bot] merged 2 commits intomainfrom
better-404-error

Conversation

@bbernays
Copy link
Copy Markdown
Contributor

Summary

This PR enables users to better understand which plugin is failing

@bbernays bbernays requested review from a team, erezrokah and maaarcelino and removed request for a team May 22, 2024 22:08
@github-actions github-actions bot added the fix label May 22, 2024
p, err := c.GetPluginVersionWithResponse(ctx, ops.PluginTeam, cloudquery_api.PluginKind(ops.PluginKind), ops.PluginName, ops.PluginVersion)
if err != nil {
return false, fmt.Errorf("failed to get plugin information: %w", err)
return false, fmt.Errorf("failed to get %s plugin (name: %s/%s) information: %w", cloudquery_api.PluginKind(ops.PluginKind), ops.PluginTeam, ops.PluginName, err)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add the version too? Maybe failed to get source plugin cloudquery/aws@v23.0.0?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in f799d1a

@bbernays bbernays added the automerge Add to automerge PRs once requirements are met label May 23, 2024
@kodiakhq kodiakhq bot merged commit 7f99e76 into main May 23, 2024
@kodiakhq kodiakhq bot deleted the better-404-error branch May 23, 2024 13:12
kodiakhq bot pushed a commit that referenced this pull request May 23, 2024
🤖 I have created a release *beep* *boop*
---


## [1.19.16](v1.19.15...v1.19.16) (2024-05-23)


### Bug Fixes

* Better Error message for error downloading plugin ([#323](#323)) ([7f99e76](7f99e76))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot pushed a commit that referenced this pull request May 24, 2024
#### Summary

Follow up to #323, @bbernays let me know if I missed anything with this
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants