On 3/20/07, Dimitri Aivaliotis <[EMAIL PROTECTED]> wrote:
> On 3/20/07, Zed A. Shaw <[EMAIL PROTECTED]> wrote:
>
> > No, I downloaded the latest 6.2 fbsd so I can try to debug this, but
> > I've got a lot going on right now.  Really it seems fbsd has decided to
> > change the semantics of accept so that you get an errno when the client
> > closes before the accept completes.
> >
> > Hey, if you could change the statement that prints out that message to
> > also print out what exception class and then shoot me the new stack
> > trace that'd help quite a bit.
>
> I've got the exception class now: IOError, but the stack trace remains
> the same.  How else should I change the following to give you the
> information you need?
>
>           rescue Object => exc
>             STDERR.puts "!!!!!! UNHANDLED EXCEPTION! #{exc.class}.
> TELL ZED HE'S A MORON."
>             STDERR.puts $!.backtrace.join("\n") if $mongrel_debug_client
>           end
>
> - Dimitri

Try something like this:

STDERR.puts exc.backtrace.join("\n")

- rob
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to