Re:Log level 'error' should mean that something needs to be ...
by raldi on Saturday December 20, 2025 @11:14AM
(#46337194)
I’m talking about codes you receive from services you call out to.
[ Parent
| on HN ]
Re:Log level 'error' should mean that something needs to be ...
by jonathrg on Saturday December 20, 2025 @11:25AM
(#46337286)
Oh that makes sense.
Re:Log level 'error' should mean that something needs to be ...
by raldi on Saturday December 20, 2025 @11:28AM
(#46337305)
There are still some special cases, because 404 is used for both “There’s no endpoint with that name” and “There’s no record with the ID you tried to look up.”
Re:Log level 'error' should mean that something needs to be ...
by mewpmewp2 on Saturday December 20, 2025 @12:46PM
(#46337988)
What if user sends some sort of auth token or other type of data that you yourself can't validate and third party gives you 4xx for it?
You won't know ahead of time whether that token or data is valid, only after making a request to the third party.