From 1275a8cce527fa02e32d9b490a12bafb38d95942 Mon Sep 17 00:00:00 2001 From: SouLSLayeR Date: Fri, 1 Apr 2022 00:07:02 +0300 Subject: [PATCH] Update src/components/services/Emby.vue Co-authored-by: Bastien Wirtz --- src/components/services/Emby.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.41.0