I agree it's an odd pattern sending an HTML snippet from the API. We should probably change any errors and notifications that currently do the same thing.
For now I think it's fine to just show the same link for any error that happens when connecting to a LXD server fails. We'll have to special case the Add KVM form for now, but maybe in the future it would be good to be able to associate a link with any action.
I agree it's an odd pattern sending an HTML snippet from the API. We should probably change any errors and notifications that currently do the same thing.
For now I think it's fine to just show the same link for any error that happens when connecting to a LXD server fails. We'll have to special case the Add KVM form for now, but maybe in the future it would be good to be able to associate a link with any action.