Disable aggeregation for errors.fundamental in Go SDK


I’m using Go sentry 0.6.1 to report issues from my Go app. I use wrapper function to log error messages because I call it from many places and I need to offer human friendly error too:

func LogFatalErrorAndExit(message string) {
sentry.Flush(time.Second * 5) 

Unfortunately, Sentry aggregates all these errors with very different messages into single issue instead of multiple ones. I think it does aggregation according error type and function name:
*errors.fundamental *main in LogFatalErrorAndExit

What is the best option to disable such aggregation for cases with wrapper function? How can I override “fundamental” type of error?

1 Like

I’m somewhat chasing a similar problem and from what I’ve understood so far you would need to change the fingerprint.