We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56f8332 commit 7e4790fCopy full SHA for 7e4790f
1 file changed
sentry.go
@@ -91,7 +91,9 @@ func newReporter(cr *CmdRequest) (*Reporter, error) {
91
scope.SetExtra("command", cr.Command)
92
})
93
94
- sentry.Logger = stdlog.Default()
+ if cr.Debug {
95
+ sentry.Logger = stdlog.Default()
96
+ }
97
98
return &Reporter{
99
sentryDSN: sentryDSN,
0 commit comments