Skip to content

Commit

Permalink
fix(macros): make smartLink() error message more informative (#11042)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar authored May 2, 2024
1 parent 56a18b0 commit 930c9cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kumascript/src/api/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ const web = {
} else {
flaw = this.env.recordNonFatalError(
"wrong-xref-macro",
"wrong xref macro used (consider changing which macro you use)",
"Wrong xref macro used (consider changing which macro you use). " +
`Error processing path ${href}`,
{
current: subpath,
}
Expand Down

0 comments on commit 930c9cf

Please sign in to comment.