3 ms·
The article is fairly specific: The first example: - no stack trace - loosing the specifics of error to troubleshoot. The second example: - explicitly discard
by je42 7y ago
The article is fairly specific:
The first example:
- no stack trace
- loosing the specifics of error to troubleshoot.
The second example:
- explicitly discards the stack trace
- explicitly discards the error specifics.
Hence, if this is really what you want. fine,
but in a lot of cases you do want to see stack traces and the exact reasons (and meta data why an error was thrown).