Hacker News new | ask | show | jobs
by nyanpasu64 1316 days ago
C++ exceptions and Rust Anyhow errors lack stack traces by default, whereas Java exceptions capture them by default, aiding debugging. I'm not sure if Rust spans satisfy the same requirements as stack traces; they seem more built around logging and asynchronous execution, than error handling and synchronous code.
1 comments

I believe the backtrace API was added to stable rust with the most recent release, and so anyhow backtraces should now be available outside of nightly.