Use "warn" log level for delivery errors

This commit is contained in:
silverpill 2023-02-02 20:49:50 +00:00
parent 8bb786c763
commit 4559f74881
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Return `202 Accepted` when activity is accepted by inbox endpoint.
- Ignore forwarded `Like` activities.
- Set 10 minute timeout on background job that processes incoming activities.
- Use "warn" log level for delivery errors.
## [1.12.0] - 2023-01-26

View file

@ -186,7 +186,7 @@ async fn deliver_activity_worker(
&activity_json,
&recipient.inbox,
).await {
log::error!(
log::warn!(
"failed to deliver activity to {} (attempt #{}): {}",
recipient.inbox,
retry_count + 1,