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
Tags MaX-V0.4
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