mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
chore: upgraded golangci-lint v1.52.2 and fixed all issues.
This commit is contained in:
@ -203,7 +203,7 @@ func SkipDuringUnwind() {
|
||||
}
|
||||
|
||||
// EnhanceSentryEvent swaps type with value and removes panic handlers from the stacktrace.
|
||||
func EnhanceSentryEvent(event *sentry.Event, hint *sentry.EventHint) *sentry.Event {
|
||||
func EnhanceSentryEvent(event *sentry.Event, _ *sentry.EventHint) *sentry.Event {
|
||||
for idx, exception := range event.Exception {
|
||||
exception.Type, exception.Value = exception.Value, exception.Type
|
||||
if exception.Stacktrace != nil {
|
||||
|
||||
Reference in New Issue
Block a user