mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Return instead of trhow (#9094)
This commit is contained in:
parent
cc76ccc3c9
commit
d408e8653c
@ -84,7 +84,7 @@ export const connectionMixin = <T extends Constructor<HassBaseEl>>(
|
||||
err.error?.code === ERR_CONNECTION_LOST &&
|
||||
serviceCallWillDisconnect(domain, service)
|
||||
) {
|
||||
throw err;
|
||||
return { context: { id: "" } };
|
||||
}
|
||||
if (__DEV__) {
|
||||
// eslint-disable-next-line no-console
|
||||
|
Loading…
x
Reference in New Issue
Block a user