Skip to content

Commit

Permalink
Remove alert caused by non-user input.
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked committed Mar 14, 2021
1 parent d812dde commit 39038e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.2.0b2: remove alert() that can happen anytime
0.2.0b1: use package not parcel
...
0.2-alpha.3: multiple language support
ui size hint
max library download size
Expand Down
10 changes: 5 additions & 5 deletions dist/hass-aarlo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,7 @@ class AarloGlance extends LitElement {
});
return ( library.videos.length > 0 ) ? library.videos : [];
} catch (err) {
throw `wsLoadLibrary failed {err}`
throw `wsLoadLibrary failed ${err}`
}
}

Expand All @@ -2216,7 +2216,7 @@ class AarloGlance extends LitElement {
entity_id: this.cc.id,
})
} catch (err) {
throw `wsStartStream failed {err}`
throw `wsStartStream failed ${err}`
}
}

Expand All @@ -2227,7 +2227,7 @@ class AarloGlance extends LitElement {
entity_id: this.cc.id,
})
} catch (err) {
throw `wsStopStream failed {err}`
throw `wsStopStream failed ${err}`
}

}
Expand All @@ -2239,7 +2239,7 @@ class AarloGlance extends LitElement {
entity_id: this.cc.id
})
} catch (err) {
throw `wsUpdateSnapshot failed {err}`
throw `wsUpdateSnapshot failed ${err}`
}
}

Expand Down Expand Up @@ -2357,7 +2357,7 @@ class AarloGlance extends LitElement {
try {
this._ls[index].recordings = await this.wsLoadLibrary( index )
} catch(err) {
alert(err)
this._log(err)
this._ls[index].recordings = []
}
}
Expand Down

0 comments on commit 39038e5

Please sign in to comment.