I get: Unknown function: fn:stack-trace() when I use stack-trace().
I am not sure if this is meant as the equivalent of the stack trace where the error occured. This is what I got in the next catch block which might be anywhere, in my case in an unrelated module that implements a catch all and report functionality.

Am 11.01.2024 um 12:19 schrieb Martin Honnen:



Am 11.01.2024 um 12:15 schrieb Omar Siam <omar.s...@oeaw.ac.at>:

Hi,

Until 10.6 one could find the stack trace of an error in $err:additional. This feature is now gone from BaseX and the documentation.

I made my life much easier with reporting stack traces on errors in RestXQ endpoints. Now I don't see how to get that information anymore.

Any advice how to get this functionality back?

It might be that https://qt4cg.org/specifications/xpath-functions-40/Overview.html#func-stack-trace is already supported (but I haven´t checked).


--
Mag. Ing. Omar Siam
Austrian Center for Digital Humanities and Cultural Heritage
Österreichische Akademie der Wissenschaften | Austrian Academy of Sciences
Stellvertretende Behindertenvertrauensperson | Deputy representative for 
disabled persons
Bäckerstraße 13, 1010 Wien, Österreich | Vienna, Austria
T: +43 1 51581-7295
omar.s...@oeaw.ac.at  |www.oeaw.ac.at/acdh

Reply via email to