Retry activity send on connection failure (fixes #41) (#48)

This commit is contained in:
Nutomic 2023-06-22 09:21:06 +02:00 committed by GitHub
parent 3d9d54cf09
commit cfcde0dcc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(()) )),
}
} }
} }