From fcdb57ecee0e7fca5698f5343adbb00d15eb24f9 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 12 Nov 2017 18:40:40 +0100 Subject: [PATCH] profile: print an error when the profile is problematic, issue #4721 --- src/profile.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/profile.c b/src/profile.c index 6a41be392..322c71157 100644 --- a/src/profile.c +++ b/src/profile.c @@ -538,8 +538,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; } -- 2.47.2