From 94035d6286af5280847fae2289efc49c15857de1 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 21 Jul 2020 00:36:21 +0200 Subject: [PATCH] show errors from connect_configured() (as 'IMAP Connect without configured params' (ConnectWithoutConfigure)) as DC_EVENT_ERROR_NETWORK as these may not be shown to the user if there is actually no internet --- src/scheduler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler.rs b/src/scheduler.rs index 269f6f4e0..9688bbba1 100644 --- a/src/scheduler.rs +++ b/src/scheduler.rs @@ -105,7 +105,7 @@ async fn fetch(ctx: &Context, connection: &mut Imap) { match ctx.get_config(Config::ConfiguredInboxFolder).await { Some(watch_folder) => { if let Err(err) = connection.connect_configured(&ctx).await { - error!(ctx, "{}", err); + error_network!(ctx, "{}", err); return; }