Skip to content

Commit

Permalink
shorten transform error message
Browse files Browse the repository at this point in the history
  • Loading branch information
noelforte committed Dec 1, 2024
1 parent dca6698 commit 429c876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function transformTemplateCode(

throw new TransformError({
message:
`Failed to transform template function internally.\n${message} while transforming:\n\n${annotation}`,
`Error transforming template function.\n${message} while transforming:\n\n${annotation}`,
cause: error as ParseError,
pos,
});
Expand Down

0 comments on commit 429c876

Please sign in to comment.