News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by Cthulhu_ on Tuesday May 03, 2022 @03:35AM (#31245711)
> Actually I have seen outages related to people being too zealous and reporting errors related to closing the response body on otherwise successful requests.

I kinda get it though, because the compiler or linters will show that as a warning or error going "bruh you forgot to handle this error", and as a perfectionist one wants to get rid of all of those.

I mean IMO those should be logged anyway, if only so you get some data on how often it happens, if there's anything that can be done about it, and if it's harmless, to ignore the error - but make it explicit.

There are no comments on this comment yet.