Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pdn-certic
MaX
Commits
342eaf31
Commit
342eaf31
authored
Jan 30, 2017
by
chauveau
Browse files
correctif catch exception dans max.xq
parent
d4b2f0fa
Changes
1
Show whitespace changes
Inline
Side-by-side
max.xq
View file @
342eaf31
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment