feat: add version tag for sentry

This commit is contained in:
debugtalk
2019-12-23 18:44:05 +08:00
parent f750047a76
commit aefced69ee

View File

@@ -4,4 +4,8 @@ __description__ = "One-stop solution for HTTP(S) testing."
__all__ = ["__version__", "__description__"]
import sentry_sdk
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")
with sentry_sdk.configure_scope() as scope:
scope.set_tag("version", __version__)