diff --git a/cmd/root.go b/cmd/root.go index 154f6978..8f58e76b 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -35,7 +35,7 @@ func initConfig() { os.Exit(0) } } - initSentry() + //initSentry() } func initSentry() { diff --git a/utils/printer.go b/utils/printer.go index 4233b6d1..0dbb05ec 100644 --- a/utils/printer.go +++ b/utils/printer.go @@ -3,18 +3,18 @@ package utils import ( "fmt" "github.com/fatih/color" - "github.com/getsentry/sentry-go" +// "github.com/getsentry/sentry-go" "github.com/pterm/pterm" log "github.com/sirupsen/logrus" - "time" +// "time" ) func PrintlnError(err error) { - localHub := sentry.CurrentHub().Clone() - localHub.Scope().SetTransaction(err.Error()) - localHub.CaptureException(err) + //localHub := sentry.CurrentHub().Clone() + //localHub.Scope().SetTransaction(err.Error()) + //localHub.CaptureException(err) fmt.Printf("%s: %v\n", color.RedString("Error"), err) - defer localHub.Flush(5 * time.Second) + //defer localHub.Flush(5 * time.Second) } func PrintlnInfo(info string) {