On Wed, May 10, 2017 at 1:46 PM, MRAB <pyt...@mrabarnett.plus.com> wrote:

> NEVER use a 'bare except' to suppress exceptions! It'll catch _all_
> exceptions, even NameError (if you've misspelled a name, it'll catch that
> too). Catch only those exceptions that you're prepared to deal with.

When writing many kinds of applications, this is great advice.

But is it good when writing REST API's?  You don't want one buggy API
call to bring down the whole service.

Or am I missing something?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to