trying to upload a snap without signing the agreement prints the error twice

Bug #1596777 reported by Leo Arias
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Undecided
Unassigned

Bug Description

If I try to upload a snap with a user that has not signed the user agreement, an error is returned.

This error prints in red:
There was an error uploading the application.
Reason: Forbidden
Text: Developer has not signed agreement.

Then it prints in green:
Upload did not complete.
Some errors were detected:

Developer has not signed agreement.

This error should be cleaned up. The Reason and Text maybe should be printed only if -d is passed, and with a text preceding it to make it clear that it's the response from the store.

The other error should be printed in red.

Tags: store
Simon Quigley (tsimonq2)
Changed in snapcraft:
assignee: nobody → Simon Quigley (tsimonq2)
status: New → In Progress
tags: added: store
Changed in snapcraft:
assignee: Simon Quigley (tsimonq2) → nobody
status: In Progress → Won't Fix
status: Won't Fix → Triaged
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.