change: remove sentry sdk

This commit is contained in:
debugtalk
2022-01-25 20:32:44 +08:00
parent 229c1839b1
commit 91fa2eefdf
7 changed files with 7 additions and 159 deletions

View File

@@ -1,27 +0,0 @@
package sentry
import (
"time"
"github.com/getsentry/sentry-go"
"github.com/httprunner/hrp/internal/version"
)
func init() {
// init sentry sdk
err := sentry.Init(sentry.ClientOptions{
Dsn: "https://cff5efc69b1a4325a4cf873f1e70c13a@o334324.ingest.sentry.io/6070292",
Release: version.VERSION,
})
if err != nil {
panic("init sentry sdk failed!")
}
sentry.ConfigureScope(func(scope *sentry.Scope) {
scope.SetLevel(sentry.LevelError)
})
}
func Flush() {
sentry.Flush(3 * time.Second)
}

View File

@@ -1,3 +1,3 @@
package version
const VERSION = "v0.5.3"
const VERSION = "v0.6.0"