mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
fix: ensure initializing sentry_sdk on startup
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
# Release History
|
# Release History
|
||||||
|
|
||||||
|
## 2.4.6 (2019-12-21)
|
||||||
|
|
||||||
|
**Fixed**
|
||||||
|
|
||||||
|
- fix: ensure initializing sentry_sdk on startup
|
||||||
|
|
||||||
|
**Fixed**
|
||||||
|
|
||||||
## 2.4.5 (2019-12-20)
|
## 2.4.5 (2019-12-20)
|
||||||
|
|
||||||
**Added**
|
**Added**
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
__version__ = "2.4.5"
|
__version__ = "2.4.6"
|
||||||
__description__ = "One-stop solution for HTTP(S) testing."
|
__description__ = "One-stop solution for HTTP(S) testing."
|
||||||
|
|
||||||
__all__ = ["__version__", "__description__"]
|
__all__ = ["__version__", "__description__"]
|
||||||
|
|
||||||
|
import sentry_sdk
|
||||||
|
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
import sys
|
import sys
|
||||||
|
from httprunner.cli import main
|
||||||
import sentry_sdk
|
|
||||||
|
|
||||||
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from httprunner.cli import main
|
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "httprunner"
|
name = "httprunner"
|
||||||
version = "2.4.5"
|
version = "2.4.6"
|
||||||
description = "One-stop solution for HTTP(S) testing."
|
description = "One-stop solution for HTTP(S) testing."
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|||||||
Reference in New Issue
Block a user