Hacker News new | ask | show | jobs
by lzutao 2589 days ago
Thanks through I still don't get it. I only know that you can get backtraces of errors by setting `RUST_BACKTRACE=1`.
1 comments

That only gives you backtraces for panics, but not for errors based on the Result<,> type.
I am not serious. Often in these cases I would use printf debugging to know where the errors came.

(I am still a Rust beginner).