[hunchentoot-devel] Hard to catch errors below process-request

AVS lispercat at gmail.com
Mon Jan 24 15:50:38 UTC 2011


Thank you, Hans. It works perfectly now.

Andrei

On Sat, Jan 22, 2011 at 1:54 AM, Hans Hübner <hans.huebner at gmail.com> wrote:
> On Sat, Jan 22, 2011 at 12:45 AM, AVS <lispercat at gmail.com> wrote:
>> Now it displays on the web page:
>> Internal Server Error
>> An error has occured
>
> This is the right thing.  You can set *SHOW-LISP-ERRORS-P* to display
> the error to the client, and *LOG-LISP-ERRORS-P* to log them to the
> log file.
>
>> If  (setf hunchentoot:*handle-http-errors-p* nil) it just says "An
>> error has occured".
>
> *HANDLE-HTTP-ERRORS-P* is not relevant here, I think.  At least I did
> not intend to modify its behavior.
>
>> Still doesn't trigger the debugger when (setf
>> *catch-errors-p* nil).
>
> http://bknr.net/trac/changeset/4638/trunk fixes this.  Please update
> and try again.
>
> -Hans
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>




More information about the Tbnl-devel mailing list