From: SouLSLayeR Date: Thu, 31 Mar 2022 21:07:02 +0000 (+0300) Subject: Update src/components/services/Emby.vue X-Git-Tag: v22.02.2~12^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F410%2Fhead;p=github%2Fbastienwirtz%2Fhomer.git Update src/components/services/Emby.vue Co-authored-by: Bastien Wirtz --- diff --git a/src/components/services/Emby.vue b/src/components/services/Emby.vue index 8f2790b..25a2612 100644 --- a/src/components/services/Emby.vue +++ b/src/components/services/Emby.vue @@ -62,7 +62,7 @@ export default { this.fetch("/System/info/public") .then((response) => { if (response.Id) this.status = "running"; - else this.status = "dead"; + else throw new Error(); }) .catch((e) => { console.log(e);