mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-08 17:56:33 +00:00
Log internal exceptions on API level
This commit is contained in:
parent
1a6f6085e6
commit
808fc0f8b6
@ -34,6 +34,7 @@ def api_process(method):
|
||||
except RuntimeError as err:
|
||||
return api_return_error(message=str(err))
|
||||
except HassioError:
|
||||
_LOGGER.exception("Hassio error")
|
||||
return api_return_error()
|
||||
|
||||
if isinstance(answer, dict):
|
||||
|
Loading…
x
Reference in New Issue
Block a user