<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, if the failsafe handler is activated, basically an exception thrown in the exception handler, then rails/mongrel returns a 200 code with a response body that contains a 500 error message.<div><br><div><div>On 11/03/2008, at 1:38 AM, James Golick wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Still says 200. Somebody is throwing this error and won't admit to it. I'm guessing it's mongrel, but at this point, I've really got no idea.<br><br><div class="gmail_quote">On Mon, Mar 10, 2008 at 10:28 AM, Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Mon, Mar 10, 2008 at 10:18:53AM -0400, James Golick wrote:<br> <br> > That's the really weird thing - nothing.<br> ><br> > It seems like maybe my upstream is responding with 200, but actually showing<br> > a 500-style error?<br> <br> </div>You may log $upstream_status in access_log to see an exact upstream status.<br> <div class="Ih2E3d"><br> > On Mon, Mar 10, 2008 at 10:10 AM, Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:<br> ><br> > > On Mon, Mar 10, 2008 at 10:06:27AM -0400, James Golick wrote:<br> > ><br> > > > Nothing.<br> > > ><br> > > > I'm thinking now that these must be coming occasionally from my upstream<br> > > > servers.<br> > ><br> > > I mean what do you see in access_log - 500, 502, etc ?<br> > ><br> > > > Thanks for your help<br> > > ><br> > > > On Mon, Mar 10, 2008 at 10:02 AM, Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:<br> > > ><br> > > > > On Mon, Mar 10, 2008 at 09:55:23AM -0400, James Golick wrote:<br> > > > ><br> > > > > > Nginx will always log an error when there's a 500?<br> > > > ><br> > > > > Yes, at least I have tried to log them all. The log is single way<br> > > > > to know about the problems.<br> > > > ><br> > > > > So what do you see - 500, 502, 503, or 504 ?<br> > > > ><br> > > > ><br> > > > > --<br> > > > > Igor Sysoev<br> > > > > <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br> > > > ><br> > > > ><br> > ><br> > > --<br> > > Igor Sysoev<br> > > <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br> > ><br> > ><br> <br> </div>--<br> <div><div></div><div class="Wj3C7c">Igor Sysoev<br> <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br> <br> </div></div></blockquote></div><br></blockquote></div><br></div></body></html>