File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -457,10 +457,28 @@ the lisp backtrace on the html page.
457457
458458### Hunchentoot
459459
460- The global variables to set are ` *catch-errors-p* ` ,
461- ` *show-lisp-errors-p* ` and ` *show-lisp-backtraces-p* ` .
460+ The global variables to set to choose the error handling behaviour are:
462461
463- Hunchentoot also defines condition classes.
462+ - ` *catch-errors-p* ` : set to ` nil ` if you want errors to be caught in
463+ the interactive debugger (for development only, of course):
464+
465+ ~~~ lisp
466+ (setf hunchentoot:*catch-errors-p* nil)
467+ ~~~
468+
469+ See also the generic function ` maybe-invoke-debugger ` if you want to
470+ fine-tune this behaviour. You might want to specialize it on specific
471+ condition classes (see below) for debugging purposes. The default method [ invokes
472+ the debugger] ( http://www.lispworks.com/documentation/HyperSpec/Body/f_invoke.htm )
473+ if ` *catch-errors-p* ` is ` nil ` .
474+
475+ - ` *show-lisp-errors-p* ` : set to ` t ` if you want to see errors in HTML output in the browser.
476+ - ` *show-lisp-backtraces-p* ` : set to ` nil ` if the errors shown in HTML
477+ output (when ` *show-lisp-errors-p* ` is ` t ` ) should * not* contain
478+ backtrace information (defaults to ` t ` , shows the backtrace).
479+
480+ Hunchentoot defines condition classes. The superclass of all
481+ conditions is ` hunchentoot-condition ` . The superclass of errors is ` hunchentoot-error ` (itself a subclass of ` hunchentoot-condition ` ).
464482
465483See the documentation: [ https://edicl.github.io/hunchentoot/#conditions ] ( https://edicl.github.io/hunchentoot/#conditions ) .
466484
You can’t perform that action at this time.
0 commit comments