Skip to content

Commit

Permalink
edit sentry log msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Jul 26, 2024
1 parent 308dc41 commit 7a941f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func recoverPanic() {
return
}

errMsg := fmt.Sprintf("[uncaught panic]@v%s: %s\n%s\n", Version, r, string(debug.Stack()))
errMsg := fmt.Sprintf("[uncaught panic]@%s: %s\n%s\n", Version, r, string(debug.Stack()))
os.Stderr.Write([]byte(errMsg))
sentry.CaptureMessage(errMsg)
sentry.Flush(2 * time.Second)
Expand Down

0 comments on commit 7a941f8

Please sign in to comment.