From 9a0a3c4b006fc226c535b0eab3098c1dee343828 Mon Sep 17 00:00:00 2001 From: bjoern Date: Wed, 4 May 2022 18:09:55 +0200 Subject: [PATCH] fix "scheduler already started" log entry (#3294) i was wondering mainly about the whole line "Failed to start IO: scheduler is already stopped". i think it has to be "already started" and not "already stopped". --- src/scheduler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduler.rs b/src/scheduler.rs index 26b60b43e..bf2ef40b4 100644 --- a/src/scheduler.rs +++ b/src/scheduler.rs @@ -378,7 +378,7 @@ impl Scheduler { /// Start the scheduler, returns error if it is already running. pub async fn start(&mut self, ctx: Context) -> Result<()> { if self.is_running() { - bail!("scheduler is already stopped"); + bail!("scheduler is already started"); } let (mvbox, mvbox_handlers) = ImapConnectionState::new(&ctx).await?;