diff options
Diffstat (limited to 'doc/guide/wsgi.py.txt')
-rw-r--r-- | doc/guide/wsgi.py.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guide/wsgi.py.txt b/doc/guide/wsgi.py.txt index 2c4a9aaaa..eb64f3a82 100644 --- a/doc/guide/wsgi.py.txt +++ b/doc/guide/wsgi.py.txt @@ -13,7 +13,7 @@ env._finalize_core(**dict(DEFAULT_CONFIG)) api.bootstrap(context='server', debug=env.debug, log=None) (ref:wsgi-app-bootstrap) try: api.finalize() (ref:wsgi-app-finalize) -except StandardError, e: +except Exception, e: api.log.error('Failed to start IPA: %s' % e) else: api.log.info('*** PROCESS START ***') |