Skip to content

Comments

Improve error message when failing to publish a package which already exists#5216

Closed
GearsDatapacks wants to merge 1 commit intogleam-lang:mainfrom
GearsDatapacks:better-publish-error
Closed

Improve error message when failing to publish a package which already exists#5216
GearsDatapacks wants to merge 1 commit intogleam-lang:mainfrom
GearsDatapacks:better-publish-error

Conversation

@GearsDatapacks
Copy link
Member

As discussed on discord, the current error message can be a little confusing when trying to publish a package that already exists, and you don't have permission to modify it. This PR updates it to be more helpful

@lpil
Copy link
Member

lpil commented Dec 23, 2025

This error message presumes that the person is trying to publish a new package, but that name it taken, but that is not always the case. We would need to make the error message less specific, or identify more precisely when we think this is happening.

Also, please make an issue to discuss designs before making changes 🙏

@GearsDatapacks GearsDatapacks deleted the better-publish-error branch December 23, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants