Commit 342eaf31 authored by chauveau's avatar chauveau
Browse files

correctif catch exception dans max.xq

parent d4b2f0fa
......@@ -120,7 +120,7 @@ function max:page($project, $page){
let $content := max.html:getHTMLFragment($project,$page)
return max.html:wrapInHTML($project, $page, $content)
catch err:FODC0002{
catch *{
admin:write-log('Page/fragment "'||$page ||'" introuvable ou mal formé', 'INFO'),
let $content := max.route:HTMLRouteList($project)
return max.html:wrapInHTML($project, $page, $content)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment