mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Ensure websocket_api error messages shows longer (#18690)
This commit is contained in:
parent
9320e8c1a3
commit
a1236924aa
@ -143,7 +143,10 @@ export const connectionMixin = <T extends Constructor<HassBaseEl>>(
|
|||||||
? "connection lost"
|
? "connection lost"
|
||||||
: "unknown error")
|
: "unknown error")
|
||||||
}`;
|
}`;
|
||||||
fireEvent(this as any, "hass-notification", { message });
|
fireEvent(this as any, "hass-notification", {
|
||||||
|
message,
|
||||||
|
duration: 10000,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user