fix: ensure initializing sentry_sdk on startup

This commit is contained in:
debugtalk
2019-12-21 17:21:00 +08:00
parent a7e203610c
commit 5d62d0a3c7
4 changed files with 14 additions and 7 deletions

View File

@@ -1,5 +1,13 @@
# Release History
## 2.4.6 (2019-12-21)
**Fixed**
- fix: ensure initializing sentry_sdk on startup
**Fixed**
## 2.4.5 (2019-12-20)
**Added**

View File

@@ -1,4 +1,7 @@
__version__ = "2.4.5"
__version__ = "2.4.6"
__description__ = "One-stop solution for HTTP(S) testing."
__all__ = ["__version__", "__description__"]
import sentry_sdk
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")

View File

@@ -1,10 +1,6 @@
import sys
import sentry_sdk
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")
from httprunner.cli import main
if __name__ == "__main__":
from httprunner.cli import main
sys.exit(main())

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "httprunner"
version = "2.4.5"
version = "2.4.6"
description = "One-stop solution for HTTP(S) testing."
license = "Apache-2.0"
readme = "README.md"