From eb81d940647de5d88128e8171f114309b9109e4b Mon Sep 17 00:00:00 2001 From: agracio Date: Mon, 18 Nov 2024 14:34:42 +0000 Subject: [PATCH] updating code --- src/xslt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xslt.js b/src/xslt.js index 64724cc..0004fe4 100644 --- a/src/xslt.js +++ b/src/xslt.js @@ -49,7 +49,7 @@ async function convert(options, xsltFile){ xml = await xslt.xsltProcess(xmlParser.xmlParse(xmlString), xmlParser.xmlParse(xsltString)); } catch (e) { - throw `\nCould not process XML file ${options.testFile} using XSLT ${xsltFile} \n${e}`; + throw `\nCould not process XML file ${options.testFile} using XSLT ${xsltFile} \n${e.message}`; } await processXml(options, xml);