We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cae05e commit b640f14Copy full SHA for b640f14
src/taskgraph/generator.py
@@ -306,7 +306,14 @@ def _run(self):
306
all_tasks = {}
307
for kind_name in kind_graph.visit_postorder():
308
logger.debug(f"Loading tasks for kind {kind_name}")
309
- kind = kinds[kind_name]
+
310
+ kind = kinds.get(kind_name)
311
+ if not kind:
312
+ message = f'Could not find the kind "{kind_name}"\nAvailable kinds:\n'
313
+ for k in sorted(kinds):
314
+ message += f' - "{k}"\n'
315
+ raise Exception(message)
316
317
try:
318
new_tasks = kind.load_tasks(
319
parameters,
0 commit comments