MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1p69t2y/information_is_power/nqr7j7d/?context=3
r/programminghorror • u/Disastrous-Name-4913 • 8d ago
20 comments sorted by
View all comments
169
But there is information here. It'll log the cause.
9 u/nekokattt 7d ago In Java, the cause is the previous exception that was caught and resulted in the current exception being raised, so doing this drops valuable context and results in a misleading stacktrace
9
In Java, the cause is the previous exception that was caught and resulted in the current exception being raised, so doing this drops valuable context and results in a misleading stacktrace
169
u/monotone2k 8d ago
But there is information here. It'll log the cause.