diff --git a/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts index 716bcbb..6c2a1a6 100644 --- a/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts @@ -99,7 +99,7 @@ export class AttributeConverterHandler extends ConverterHandler { if (!packageObjects) { throw new Error( - `[AttributeConverterHandler]: Package tag was defined, but unable to find a related package object for attribute (${attribute.path}).`, + `[AttributeConverterHandler]: Package tag was defined (${packageTagValue}), but unable to find a related package object for attribute (${attribute.path}).`, ); } diff --git a/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts index baab5b5..38221da 100644 --- a/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts @@ -98,7 +98,7 @@ export class ConnectorConverterHandler extends ConverterHandler { if (!referencedPackages) { throw new Error( - `[ElementConverterHandler]: Package tag was defined, but unable to find the object for package ${packageTagValue}.`, + `[ElementConverterHandler]: Package tag was defined for element ${element.path}, but unable to find the object for package ${packageTagValue}.`, ); }