I've written a Django application which interacts with a third-party API (Disqus, although this detail is unimportant) via a Python wrapper. When the service is unavailable, the Python wrapper raises an exception.
The best way for the application to handle such exceptions is to suppress them so that the rest of the page's content can still be displayed to the user. The following works fine.
try:
somemodule.method_that_may_raise_exception(args)
except somemodule.APIError:
pass
Certain views contain several such calls. Is wrapping each call in try/except the best way to suppress possible exceptions?