fix: ensure initializing sentry_sdk on startup

This commit is contained in:
debugtalk
2019-12-21 17:21:00 +08:00
parent 46dde54fe2
commit dc6145af31
4 changed files with 14 additions and 7 deletions
+1 -5
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())