Skip to content

Commit

Permalink
Merge pull request #75 from line-o/fix/73
Browse files Browse the repository at this point in the history
fix: add fallback description to router:error-description
  • Loading branch information
line-o authored Oct 15, 2024
2 parents a1da929 + 9f7274a commit e8547de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/router.xql
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ declare %private function router:error-description ($description as xs:string?,
if ($line and $line > 0 and empty($value)) then
``[`{$description}` [at line `{$line}` column `{$column}` in module `{head(($module, 'unknown'))}`]]``
else
($description, $value)[1]
($description, $value, 'No description provided.')[1]
};

(:~
Expand Down

0 comments on commit e8547de

Please sign in to comment.