mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
fix: init sentry_sdk before main
This commit is contained in:
@@ -2,10 +2,9 @@ import sys
|
||||
|
||||
import sentry_sdk
|
||||
|
||||
from httprunner.cli import main
|
||||
|
||||
sentry_sdk.init("https://cc6dd86fbe9f4e7fbd95248cfcff114d@sentry.io/1862849")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from httprunner.cli import main
|
||||
sys.exit(main())
|
||||
|
||||
Reference in New Issue
Block a user