lib: ignore APM errors

This commit is contained in:
Jens Langhammer
2020-07-07 21:45:31 +02:00
parent d95c5aa739
commit 91bea38b8e
2 changed files with 3 additions and 1 deletions

View File

@ -281,7 +281,7 @@ if not DEBUG and _ERROR_REPORTING:
release="passbook@%s" % __version__,
)
_APM_ENABLED = CONFIG.y("apm.enabled", True)
_APM_ENABLED = CONFIG.y("apm.enabled", False)
if _APM_ENABLED:
INSTALLED_APPS.append("elasticapm.contrib.django")
ELASTIC_APM = {