]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
service: add error text to the service instance log
authorJaroslav Kysela <perex@perex.cz>
Mon, 1 Oct 2018 08:17:33 +0000 (10:17 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 1 Oct 2018 08:17:47 +0000 (10:17 +0200)
src/service.c

index db7be480787c071f21085140768b25783b87ded5..c42be1b3f67cfcd7d61f3422b354772f16a83a7a 100644 (file)
@@ -833,9 +833,9 @@ service_find_instance
   TAILQ_FOREACH(si, sil, si_link) {
     const char *name = ch ? channel_get_name(ch) : NULL;
     if (!name && s) name = s->s_nicename;
-    tvhdebug(LS_SERVICE, "%d: %s si %p %s weight %d prio %d error %d",
+    tvhdebug(LS_SERVICE, "%d: %s si %p %s weight %d prio %d error %d (%s)",
              si->si_instance, name, si, si->si_source, si->si_weight, si->si_prio,
-             si->si_error);
+             si->si_error, streaming_code2txt(si->si_error));
   }
 
   /* Already running? */