Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Nov 18, 2024
1 parent 55efe54 commit eb81d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xslt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eb81d94

Please sign in to comment.