Skip to content

Commit 79632fd

Browse files
committed
Enable Sentry's "releases" feature
1 parent 01be4ad commit 79632fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

h/app.py

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from pyramid.settings import asbool
88
from pyramid.tweens import EXCVIEW
99

10+
from h._version import get_version
1011
from h.config import configure
1112
from h.sentry_filters import SENTRY_FILTERS
1213
from h.views.client import DEFAULT_CLIENT_URL
@@ -116,6 +117,7 @@ def _configure_sentry(config):
116117
"h_pyramid_sentry.retry_support": True,
117118
"h_pyramid_sentry.celery_support": True,
118119
"h_pyramid_sentry.sqlalchemy_support": True,
120+
"h_pyramid_sentry.init.release": get_version(),
119121
}
120122
)
121123
config.include("h_pyramid_sentry")

0 commit comments

Comments
 (0)