An option that would make Waitress not catch exceptions during a request but allow them to abort the program like normal, so that you can run it under pdb or 'python -i' and access the program state at the error.
On Sun, Apr 10, 2016 at 5:33 PM, Bert JW Regeer <xiste...@0x58.com> wrote: > I am not sure what you are requesting. > >> On Apr 10, 2016, at 11:23 , Mike Orr <sluggos...@gmail.com> wrote: >> >> Is there a way to make Waitress raise request exceptions? I tried >> 'expose_tracebacks' but it displays the traceback in the browser >> rather than not catching it. That would make it possible to run it >> under pdb and look at the the local variables.The debug toolbar >> doesn't always give an interactive traceback at every point, or a >> useful one in templates, or you don't want to use it in some >> situation. In those cases I wish waitress had a 'raise_exceptions' >> option. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to pylons-discuss+unsubscr...@googlegroups.com. >> To post to this group, send email to pylons-discuss@googlegroups.com. >> Visit this group at https://groups.google.com/group/pylons-discuss. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pylons-discuss+unsubscr...@googlegroups.com. > To post to this group, send email to pylons-discuss@googlegroups.com. > Visit this group at https://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- Mike Orr <sluggos...@gmail.com> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at https://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.