MCPcopy
hub / github.com/keploy/keploy / SentryInit

Function SentryInit

utils/utils.go:697–705  ·  view source on GitHub ↗
(logger *zap.Logger, dsn string)

Source from the content-addressed store, hash-verified

695}
696
697func SentryInit(logger *zap.Logger, dsn string) {
698 err := sentry.Init(sentry.ClientOptions{
699 Dsn: dsn,
700 TracesSampleRate: 1.0,
701 })
702 if err != nil {
703 logger.Debug("Could not initialise sentry.", zap.Error(err))
704 }
705}
706
707//func FetchHomeDirectory(isNewConfigPath bool) string {
708// var configFolder = "/.keploy-config"

Callers 1

startFunction · 0.92

Calls 2

DebugMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected