No error kind returned when network connection not available
Bug #1794006 reported by
Robert Ancell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
High
|
Samuele Pedroni |
Bug Description
If you attempt to install a snap without a network connection you get an error message without a code. This means a client can't determine the cause of the failure.
$ sudo curl --unix-socket /var/run/
{
"type": "error",
"status-code": 400,
"status": "Bad Request",
"result": {
"message": "cannot install \"hello-mdeslaur\": Post https:/
}
}
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in snapd: | |
assignee: | nobody → Samuele Pedroni (pedronis) |
To post a comment you must log in.
When there is no network connection, error message should mention about network connection problem.
https:/ /github. com/snapcore/ snapd/pull/ 6919