Not catching is different from not showing.
The point of the post is that you don't want to catch (and hide) your failure because you're likely to fail again later and debugging is a LOT harder. This is true.
But
You should still avoid showing the end user an exception; those tend to cause panic. Instead, provide a good error message to the user and fail appropriately.
No comments:
Post a Comment