Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Giving a more specific error message for issues in pulling packages #37439

Open
pubudu91 opened this issue Aug 18, 2022 · 0 comments
Open

Giving a more specific error message for issues in pulling packages #37439

pubudu91 opened this issue Aug 18, 2022 · 0 comments
Labels
Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Improvement

Comments

@pubudu91
Copy link
Contributor

When I was trying to pull a package with an incorrect token set in Settings.toml file, I got the following error:

$ bal pull choreo/mediation:0.4.0
unexpected error occurred while pulling package:error: failed to pull the package: 'choreo/mediation:0.4.0' from the remote repository 'https://api.central.ballerina.io/2.0/registry/packages/choreo/mediation/0.4.0'

Can't we be more specific and point out that an invalid token was used?

@pubudu91 pubudu91 added Type/Improvement Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Improvement
Projects
None yet
Development

No branches or pull requests

1 participant