]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Update src/components/services/Emby.vue 410/head
authorSouLSLayeR <espilioto@users.noreply.github.com>
Thu, 31 Mar 2022 21:07:02 +0000 (00:07 +0300)
committerGitHub <noreply@github.com>
Thu, 31 Mar 2022 21:07:02 +0000 (00:07 +0300)
Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>
src/components/services/Emby.vue

index 8f2790be995514415ea07a40e229b17899d87833..25a26125acc00f54207ed27fc4892b54411fb2ea 100644 (file)
@@ -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);