kb.maladroit.dev
Handling an error twice
Mistake
Logging an error in multiple places
Fix
Log or return an error, never do both.
References
100 Go Mistakes