`snapcraft close [track]` doesn't report a non-existing product

Bug #1771297 reported by Johan Lorenzo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Issue detected at: https://forum.snapcraft.io/t/firefox-please-create-the-track-esr/5006/22

Instead of running `snapcraft close [product] [track]`, I just ran `snapcraft close [track]`. The error I got is somewhat confusing:

> Your account lacks permission to close channels for this snap. Make sure the logged in account has upload permissions on '[track]' in series '16'.

I think `snapcraft close` should enforce the presence of 2 positional arguments before making a request to the store. What do you all think?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.