We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83d158a commit 06e5d29Copy full SHA for 06e5d29
nemoguardrails/colang/v2_x/lang/expansion.py
@@ -475,7 +475,9 @@ def _expand_await_element(
475
)
476
477
else:
478
- raise ColangSyntaxError(f"Unsupported spec type '{type(element.spec)}'")
+ raise ColangSyntaxError(
479
+ f"Unsupported spec type '{type(element.spec)}', element '{element.spec.name}' on line {element._source.line}"
480
+ )
481
482
# Element group
483
normalized_group = normalize_element_groups(element.spec)
0 commit comments