Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
profile: print an error when the profile is problematic, issue #4721
  • Loading branch information
perexg committed Nov 12, 2017
1 parent 10e6dbe commit 6b42f0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/profile.c
Expand Up @@ -540,8 +540,11 @@ profile_find_by_list
} else {
res = pro;
}
if (!res)
if (!res) {
res = profile_find_by_name((sflags & SUBSCRIPTION_HTSP) ? "htsp" : NULL, NULL);
if (!profile_verify(res, flags))
tvherror(LS_PROFILE, "unable to select a working profile (asked '%s' alt '%s')", name, alt);
}
return res;
}

Expand Down

0 comments on commit 6b42f0c

Please sign in to comment.