Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 'Unexpected error occurred in logTicketResponse'

I prefer this one, despite the fact that users might like the "cutesy" option better. If the user creates a bugfix ticket, the more information the dev receives the better. When you receive a ticket that says "_____ didn't work" and nothing else, how are you supposed to act on that?

When possible, error messages should include _something_ anything to make it actionable. An error code, a descriptive message. Your example tells me exactly where to look in the codebase. I don't care about the verbiage, but generic error messages are almost impossible to reproduce in many cases, and should only be used as a last resort.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: