apps: if any of the API calls fail then the ex is an object with a message property
apps: if any of the API calls fail then the ex is an object with a message property

Make sure to not pass an object to the alert component otherwise the
page crashes.

note: I hit this one, when I forced one of the API calls in this page to
fail, by changing the method name used.

mvollmer/cockpit,martinpitt/cockpit,cockpit-project/cockpit,martinpitt/cockpit,martinpitt/cockpit,mvollmer/cockpit,mvollmer/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,martinpitt/cockpit,mvollmer/cockpit,cockpit-project/cockpit,mvollmer/cockpit,cockpit-project/cockpit,martinpitt/cockpit