mirror of
https://github.com/esphome/esphome.git
synced 2025-02-15 09:28:16 +00:00
Merge branch 'mdns_cache_ping' into integration
This commit is contained in:
commit
6a975c15ef
@ -1096,10 +1096,10 @@ class PingStatus:
|
|||||||
return_exceptions=True,
|
return_exceptions=True,
|
||||||
)
|
)
|
||||||
for entry, result in zip(ping_group, results):
|
for entry, result in zip(ping_group, results):
|
||||||
if isinstance(result, BaseException):
|
|
||||||
raise result
|
|
||||||
if isinstance(result, Exception):
|
if isinstance(result, Exception):
|
||||||
result = False
|
result = False
|
||||||
|
elif isinstance(result, BaseException):
|
||||||
|
raise result
|
||||||
PING_RESULT[entry.filename] = result
|
PING_RESULT[entry.filename] = result
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user