Comment 1 for bug 1843404

Revision history for this message
Daniel Manrique (roadmr) wrote :

As seen in the other bug, snapcraft code basically gives a generic "Failed to get macaroon" message if the store responds with a not-OK http status (4xx and 5xx pretty much):

if response.ok:
            return response.json()["macaroon"]
        else:
            raise errors.StoreAuthenticationError("Failed to get macaroon", response)