mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 17:29:56 +08:00
change: report release to sentry
This commit is contained in:
@@ -5,7 +5,7 @@ __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__)
|
||||
sentry_sdk.init(
|
||||
dsn="https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849",
|
||||
release="httprunner@{}".format(__version__)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user