Skip to content

Commit

Permalink
Update log messages about packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ddvlanck committed Feb 9, 2024
1 parent 9128d4f commit 995b778
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class AttributeConverterHandler extends ConverterHandler<EaAttribute> {

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}).`,
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class ConnectorConverterHandler extends ConverterHandler<NormalizedConnec

if (!packageObject) {
throw new Error(
`[ConnectorConverterHandler]: Unable to find package for name "${packageTagValue}".`,
`[ConnectorConverterHandler]: Package tag (${packageTagValue}) was set for connector ${connector.path}, but could not find the package object.`,
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class ElementConverterHandler extends ConverterHandler<EaElement> {

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}.`,
);
}

Expand Down

0 comments on commit 995b778

Please sign in to comment.