We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1937408 + ab7bf9e commit 2f45881Copy full SHA for 2f45881
asv/environment.py
@@ -440,8 +440,11 @@ def get_environment_class_by_name(environment_type):
440
for cls in util.iter_subclasses(Environment):
441
if cls.tool_name == environment_type:
442
return cls
443
+ tool_names = [cls.tool_name for cls in util.iter_subclasses(Environment)]
444
raise EnvironmentUnavailable(
- f"Unknown environment type '{environment_type}'")
445
+ f"Unknown environment type '{environment_type}'. "
446
+ f"Allowed values based on existing plugins are {tool_names}."
447
+ )
448
449
450
def is_existing_only(environments):
0 commit comments