You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this, the Display impl prints the whole chain. But for me, eprintln!("{}", e); only prints the last added context, which is not helpful at all because even the underlying OS error is not printed.
It only prints the whole chain when I iterate manually:
for e in e.chain(){eprintln!("{}", e);}
But this is just quick & dirty, it doesn't have the nice formatting (with "Caused by") and indentation as it should have according to the docs.
The text was updated successfully, but these errors were encountered:
According to this, the
Display
impl prints the whole chain. But for me,eprintln!("{}", e);
only prints the last added context, which is not helpful at all because even the underlying OS error is not printed.It only prints the whole chain when I iterate manually:
But this is just quick & dirty, it doesn't have the nice formatting (with "Caused by") and indentation as it should have according to the docs.
The text was updated successfully, but these errors were encountered: