mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-08 09:19:41 +08:00
fix: ensure initializing sentry_sdk on startup
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user