Skip to content
Snippets Groups Projects
Commit 342eaf31 authored by chauveau's avatar chauveau
Browse files

correctif catch exception dans max.xq

parent d4b2f0fa
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment