mediacloud / web-search

Code that drives the public web-based tools for the Media Cloud Online News Archive and Directory.
https://search.mediacloud.org
Apache License 2.0
9 stars 15 forks source link

add version to sentry integration #634

Closed rahulbot closed 7 months ago

rahulbot commented 7 months ago

One of the nice features of Sentry is that you can relay over the semantic version of your app and it will track issues across releases. Here this should be as easy as adding a param to the init that says:

    release=VERSION,

Should go right in here: https://github.com/mediacloud/web-search/blob/80983a3804ed7e5b9785f3c2ceca71b276ecd7b1/mcweb/settings.py#L231-L235 A small but useful change for bug hunting.