Commit b63bb270 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

fix error catch

parent 6db73edf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ function routes:autoroute($lang as xs:string, $page as xs:string){
                errors:error($err:code, $err:description, $err:line-number, $lang)
            }
            catch err:XPTY0004 {
                errors:not-found($page || ".xq autoroute file not found"  ,$lang)
                errors:error($err:code, $err:description, $err:line-number, $lang)
            }
            catch * {errors:error($err:code, $err:description, $err:line-number, $lang)}
    }