[hunchentoot-devel] Using json-rpc and Hunchentoot
Leslie P. Polzer
sky at viridian-project.de
Thu Apr 9 07:45:46 UTC 2009
On Wed, Apr 08, 2009 at 05:16:47PM -0700, Brett van de Sande wrote:
> However, the default Hunchentoot error messages have additional (important)
> information, such as the actual lisp error message for a lisp error.
> (This is given in the "content" argument of the function "start-output"
> in headers.lisp.) I need to be able to include this additional information
> in my json-rpc formatted error messages.
>
> How would I do this?
In Weblocks we have put a HANDLER-CASE around our request handler
to catch internal errors outselves and then display the appropriate
error message.
More information about the Tbnl-devel
mailing list