← Back to issue list

remote build: internal error from 400 response

View original Github issue

Metadata

Project
snapcraft
Number
#5517
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Bug
Created
2025-05-27 13:52:40+00:00
Updated
2025-05-27 13:53:40+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Catch and raise a user-friendly error when Snapcraft fails to push a repo to Launchpad. This likely needs to be fixed upstream in Craft Application. We already catch many `launchpadlib` errors but `lazr.restfulclient.errors.BadRequest` isn't being caught when pushing the repo. ### Why it needs to get done To provide a better UX. Internal errors should never be exposed. Source: - @jnsgruk via [matrix](https://matrix.to/#/!fcfzhmtmKApekMQcxX:ubuntu.com/$i_-XIB1IDWrY4w7j16LkWR9-9JFwtVsPv4t65wpbsgg?via=ubuntu.com&via=matrix.org) - [snapcraft-20250527-114721.927489.log](https://github.com/user-attachments/files/20458454/snapcraft-20250527-114721.927489.log)

Evaluation history

No evaluation history available.