Skip to content

Publish-PSResource should say which repository it tried to publish to #345

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

Closed
SteveL-MSFT opened this issue Mar 2, 2021 · 1 comment · Fixed by #531
Closed

Publish-PSResource should say which repository it tried to publish to #345

SteveL-MSFT opened this issue Mar 2, 2021 · 1 comment · Fixed by #531

Comments

@SteveL-MSFT
Copy link
Member

Had trouble publishing module to psgallery. Kept getting error that my apikey wasn't valid. Forgot that I had multiple repositories registered and it was trying one of those first. Once I specified psgallery, it worked. Would have been easier to spot the problem if the error message contained the name of the repository that returned the error:

Current:

Publish-PSResource: Response status code does not indicate success: 403 (The specified API key is invalid, has expired, or does not have permission to access the specified package.).

Proposed:

Publish-PSResource: Repository 'Nuget': Response status code does not indicate success: 403 (The specified API key is invalid, has expired, or does not have permission to access the specified package.).
@StevenBucher98
Copy link
Collaborator

Resolved in #531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants