[hunchentoot-devel] *catch-errors-p* and spurious stream errors patch (add your own implementation and shake).
Edi Weitz
edi at agharta.de
Tue May 8 06:17:31 UTC 2007
On Tue, 8 May 2007 01:34:51 +0200, Pierre THIERRY <nowhere.man at levallois.eu.org> wrote:
> I'm not sure why there would be a need to use an implementation
> specific condition, as CL provides stream-error (which is a
> superclass of the SBCL specific condition used in the patch).
Agreed.
> +(defun always-catch-stream-errors ()
> + (defmethod maybe-invoke-debugger :around ((condition stream-error))
> + nil))
I think nesting a DEFMETHOD within a DEFUN is bad style. There's also
no way to revoke this.
But, first of all, I'd like to wait for the OPs answers to my
questions anyway.
Thanks,
Edi.
More information about the Tbnl-devel
mailing list