Do not show ha live provider errors unless they are fatal.
This commit is contained in:
@@ -73,8 +73,12 @@ customElements.whenDefined('ha-hls-player').then(() => {
|
||||
// =====================================================================================
|
||||
protected render(): TemplateResult {
|
||||
if (this._error) {
|
||||
// Use native Frigate card error handling.
|
||||
if (this._errorIsFatal) {
|
||||
// Use native Frigate card error handling for fatal errors.
|
||||
return dispatchErrorMessageEvent(this, this._error);
|
||||
} else {
|
||||
console.error(this._error);
|
||||
}
|
||||
}
|
||||
return html`
|
||||
<video
|
||||
|
||||
Reference in New Issue
Block a user