Remove double sentry event for untrusted (#2804)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Pascal Vizeli 2021-04-13 12:07:22 +02:00 committed by GitHub
parent 62d198111c
commit 1ebbf2b693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -628,9 +628,8 @@ class CoreSysAttributes:
try:
await vcn_validate(checksum, path, org="home-assistant.io")
except CodeNotaryUntrusted as err:
except CodeNotaryUntrusted:
self.sys_resolution.unhealthy = UnhealthyReason.UNTRUSTED
self.sys_capture_exception(err)
raise
except CodeNotaryError:
if self.sys_config.force_security: