logoalt Hacker News

thunkytoday at 1:10 PM2 repliesview on HN

Sounds like you'd both be happy if the tool produced both.


Replies

Geezus_42today at 1:31 PM

Sounds to me that deepsun and I are in agreement that an error message should tell you what the actual error was.

I.E. ERROR: TLS handshake failed: <DOMAIN> certificate chain unverified

appplicationtoday at 1:29 PM

This is why stack traces exist. But I agree Java seems to not really have a culture of “make the error message helpful”, but instead preferring “make the error message minimal and factual”.

For what it’s worth, the rise of helpful error messages seems to be a relatively new phenomenon the last few years.