Add psycopg2.OperationalError to list of ignored exceptions
@@ -102,6 +102,7 @@ if not (config.is_testing_env or config.is_local_env) and config.platform_dsn:
RAVEN_CONFIG['ignore_exceptions'] = config.ignore_exceptions + [
'django.db.ProgrammingError',
'django.db.OperationalError',
- 'django.db.InterfaceError'
+ 'django.db.InterfaceError',
+ 'psycopg2.OperationalError'
]
RAVEN_CONFIG['environment'] = config.env
