Skip to content

Commit bb53f68

Browse files
authored
fix: Show parentPaths in property group error message (#194)
1 parent 7add558 commit bb53f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/blueprint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ const validatePropertyGroupKey = (
15171517
const validGroupKeys = Object.keys(resourcePropertyGroups)
15181518
if (validGroupKeys.length === 0) {
15191519
throw new Error(
1520-
`The "${propertyName}" has property group ${propertyGroupKey} but ${resourceName} does not define any property groups`,
1520+
`The "${propertyName}" has property group ${propertyGroupKey} but ${parentPaths.join('.')} does not define any property groups.`,
15211521
)
15221522
}
15231523

0 commit comments

Comments
 (0)