Ignore errors when importing activities from outbox

This commit is contained in:
silverpill 2023-04-12 23:27:34 +00:00
parent c837b822e1
commit ca0643cb20
2 changed files with 11 additions and 1 deletions

View file

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Changed
- Ignore errors when importing activities from outbox.
## [1.21.0] - 2023-04-12
### Added

View file

@ -324,7 +324,13 @@ pub async fn import_from_outbox(
db_client,
&activity,
true, // is authenticated
).await?;
).await.unwrap_or_else(|error| {
log::warn!(
"failed to process activity ({}): {}",
error,
activity,
);
});
};
Ok(())
}