mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 07:06:30 +00:00
Send error to sentry from update
This commit is contained in:
parent
49853e92a4
commit
d9c4dae739
@ -137,6 +137,7 @@ class Supervisor(CoreSysAttributes):
|
|||||||
self.sys_resolution.create_issue(
|
self.sys_resolution.create_issue(
|
||||||
IssueType.UPDATE_FAILED, ContextType.SUPERVISOR
|
IssueType.UPDATE_FAILED, ContextType.SUPERVISOR
|
||||||
)
|
)
|
||||||
|
self.sys_capture_exception(err)
|
||||||
raise SupervisorUpdateError() from err
|
raise SupervisorUpdateError() from err
|
||||||
else:
|
else:
|
||||||
self.sys_config.version = version
|
self.sys_config.version = version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user