Add docs link to LXD server errors
Bug #1928621 reported by
Huw Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Low
|
Unassigned | ||
3.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
maas-ui |
Triaged
|
Low
|
Unassigned |
Bug Description
When the API responds with a server error e.g. "Cannot connect to LXD server." it should also contain a link to the docs e.g. "Cannot connect to LXD server. Try again or [find out more]" which would link to:
https:/
You can see an example here:
https:/
tags: | added: ui |
Changed in maas-ui: | |
importance: | Undecided → Unknown |
Changed in maas: | |
milestone: | 3.0.1 → none |
Changed in maas-ui: | |
milestone: | none → 3.5.0 |
Changed in maas: | |
milestone: | none → 3.5.0 |
Changed in maas-ui: | |
importance: | Unknown → Low |
Changed in maas: | |
importance: | Medium → Low |
Changed in maas-ui: | |
status: | New → Triaged |
tags: | removed: ui |
To post a comment you must log in.
I don't think we should include links directly in error messages from the backend.
These errors can also appear from API calls, which means the caller would get an HTML snippet in the text.
Also note that we're not always in control of the error message we display, in the specific case the error might come from LXD, and MAAS just pushes it up.
Couldn't the UI just add the link text when an error is displayed from the connect form?