

The error returns a stack trace like this because if you return Err(anyhow::Error) from your main function, it debug prints the error when it exits.
As you mentioned, it’s very convenient during logging! The Display impl shows much less information, so usually you want the Debug info of anyhow::Error during logging.





Windows 11 is getting a few nice changes. The problem is I’m on Linux now. I’m not going back unless it becomes better than Linux by enough to make me bother switching again.