From 429c876531395486d64874a7fbcadbb0f78a0da9 Mon Sep 17 00:00:00 2001 From: Noel Forte Date: Sat, 30 Nov 2024 23:28:09 -0500 Subject: [PATCH] shorten transform error message --- src/transformer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformer.ts b/src/transformer.ts index 3b94a8f..d814ec0 100644 --- a/src/transformer.ts +++ b/src/transformer.ts @@ -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, });