Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Insanity
9 days ago
|
parent
|
context
|
favorite
| on:
Log level 'error' should mean that something needs...
Coincidentally was reviewing code yesterday that had a confusing/contradictory statement..
error_msg = "xyz went wrong" log.warn(error_msg)
My comment on the CR was about this being an inherent contradiction and incredibly confusing to know if it's actually an error or a warning..
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: