mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
Print more anyhow errors with their causes
This commit is contained in:
@@ -132,7 +132,7 @@ impl Job {
|
||||
/// Called in response to `Action::DownloadMsg`.
|
||||
pub(crate) async fn download_msg(&self, context: &Context, imap: &mut Imap) -> Status {
|
||||
if let Err(err) = imap.prepare(context).await {
|
||||
warn!(context, "download: could not connect: {:?}", err);
|
||||
warn!(context, "download: could not connect: {:#}", err);
|
||||
return Status::RetryNow;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user