Retry activity send on connection failure (fixes #41)

This commit is contained in:
Felix Ableitner 2023-06-21 22:04:48 +02:00
parent 8f997ec340
commit c411402318

View file

@ -217,13 +217,12 @@ async fn send(
text, text,
)) ))
} }
Err(e) => { Err(e) => Err(anyhow!(
debug!( "Queueing activity {} to {} for retry after connection failure: {}",
"Unable to connect to {}, aborting task {}: {}", task.activity_id,
task.inbox, task.activity_id, e task.inbox,
); e
Ok(()) )),
}
} }
} }