func ErrorToSentry(err error, params ...map[string]string) {
	var extra map[string]string
	if len(params) > 0 {
		extra = params[0]
	} else {
		extra = map[string]string{}
	}

	sentry.WithScope(func(scope *sentry.Scope) {
		for k, v := range extra {
			scope.SetExtra(k, v)
		}
		sentry.CaptureException(err)
	})
}
// ErrorToSentry sends to Sentry general exception info with some extra provided detail (like user email, claim url etc)
ErrorToSentry sends to Sentry general exception info with some extra provided detail (like user email, claim url etc)
// ErrorToSentry sends to Sentry general exception info with some extra provided detail ( like user email claim url etc )
func ErrorToSentry(err error, params ...map[string]string) {
	var extra map[string]string
	if len(params) > 0 {
		extra = params[0]
	} else {
		extra = map[string]string{}
	}
	sentry.WithScope(func(scope *sentry.Scope) {
		for k, v := range extra {
			scope.SetExtra(k, v)
		}
		sentry.CaptureException(err)
	})
}
func ErrorToSentry ( err error , params ... map [ string ] string ) { var extra map [ string ] string if len ( params ) > 0 { extra = params [ 0 ] } else { extra = map [ string ] string { } } sentry . WithScope ( func ( scope * sentry . Scope ) { for k , v := range extra { scope . SetExtra ( k , v ) } sentry . CaptureException ( err ) } ) }
ErrorToSentry sends to Sentry general exception info with some extra provided detail (like user email, claim url etc)
ErrorToSentry sends to Sentry general exception info with some extra provided detail ( like user email claim url etc )