Skip to content

Commit fa8c9a6

Browse files
author
Alan O'Cais
committed
Make error for version suffix mapping more explicit
1 parent 4031084 commit fa8c9a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

easybuild/framework/easyconfig/tweak.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,9 @@ def map_common_versionsuffixes(software_name, original_toolchain, toolchain_mapp
907907
if original_suffix in versionsuffix_mappings:
908908
if mapped_suffix != versionsuffix_mappings[original_suffix]:
909909
raise EasyBuildError("No unique versionsuffix mapping for %s in %s toolchain "
910-
"hierarchy to %s toolchain hierarchy", original_suffix,
911-
original_toolchain, toolchain_mapping[original_toolchain['name']])
910+
"hierarchy to %s toolchain hierarchy (versionsuffix mappings were %s)",
911+
original_suffix, original_toolchain,
912+
toolchain_mapping[original_toolchain['name']], versionsuffix_mappings)
912913
else:
913914
versionsuffix_mappings[original_suffix] = mapped_suffix
914915

0 commit comments

Comments
 (0)