{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/584","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/584/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/584/events","html_url":"https://github.com/dart-lang/pub/issues/584","id":85643856,"number":584,"title":"[pub-publish] - incorrect error message","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/CannotReproduce","name":"CannotReproduce","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Community-StarterBug","name":"Community-StarterBug","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T22:09:19Z","updated_at":"2015-06-05T22:09:20Z","closed_at":"2015-06-05T22:09:20Z","body":"_Originally opened as dart-lang/sdk#11429_\n\n*This issue was originally filed by fra...&#064;igindo.com*\n_____\n**What steps will reproduce the problem?**\n\n1. Doing a pub publish with an account that is not registered as uploader, will give the following error message :\n\nYou aren't an uploader for package 'package_name'.\nThis is an unexpected error. Please run\n\n&nbsp;&nbsp;&nbsp;&nbsp;pub --trace 'publish' '--force'\n\nand include the results in a bug report on http://dartbug.com/new.\n\n2. Instead, the message would rather be something in the likes of :\n- you are not a registered uploader for 'package_name', ask the package owner to add you as uploader."}}