Update plugins/catalog-backend/src/ingestion/processors/BuiltinKindsEntityProcessor.ts

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Jonah Grimes <jonah.grimes@gmail.com>
This commit is contained in:
Jonah Grimes
2021-03-31 13:46:39 -04:00
parent 3b0c1338f6
commit 6e936c417c
@@ -103,7 +103,7 @@ export class BuiltinKindsEntityProcessor implements CatalogProcessor {
const targetRef = parseEntityRef(target, context);
if (targetRef.kind === undefined) {
throw new Error(
'Entity reference kind is undefined and has no default',
`Entity reference "${target}" did not specify a kind (e.g. starting with "Component:"), and has no default`,
);
}
emit(