- The log message contains a variant's name if Pungi didn't find one or more modules for that

This commit is contained in:
soksanichenko 2023-04-04 10:11:59 +03:00
parent 68915d04f8
commit e81d78a1d1
1 changed files with 3 additions and 2 deletions

View File

@ -753,8 +753,9 @@ def _get_modules_from_koji_tags(
# There are some module names that were listed in configuration and not
# found in any tag...
raise RuntimeError(
"Configuration specified patterns (%s) that don't match "
"any modules in the configured tags." % ", ".join(expected_modules)
f"Configuration specified patterns ({', '.join(expected_modules)})"
" that don't match any modules in "
f"the configured tags for variant '{variant.name}'"
)