Ui status support error object and fix error `azk start/restart`

* Now the status of ui supports error object.