]> 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:33 +0000 (10:17 +0200)
src/service.c

index cc37316e4a35026c3ef5b93558aee1a83df5a0ae..301aef65426ff149a0b725d80f748e22d3e4752a 100644 (file)
@@ -487,9 +487,9 @@ service_find_instance
   TAILQ_FOREACH(si, sil, si_link) {
     const char *name = ch ? channel_get_name(ch, NULL) : 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? */