@veloceapps/sdk 7.0.2-80 → 7.0.2-81

Sign up to get free protection for your applications and to get access to all the features.
@@ -1835,7 +1835,7 @@ const metadataToElement = (metadata, recursive = true) => {
1835
1835
  };
1836
1836
  const normalizedElMetadata = normalizeElementMetadata(elMetadata);
1837
1837
  if (!metadata.script || !EXPORTED_CLASS_REGEX.test(metadata.script)) {
1838
- throw new UiBuildError(`'${metadata.name}' component script is missing an exported class`, metadata);
1838
+ throw new UiBuildError(`'${metadata.path}' component script is missing an exported class`, metadata);
1839
1839
  }
1840
1840
  const script = btoaSafe(metadata.script?.replace(EXPORTED_CLASS_REGEX, `@ElementDefinition(${stringifyElementMetadata(normalizedElMetadata)})\nexport class Script`));
1841
1841
  const template = btoaSafe(metadata.template);