From 4559f7488100ed4eadf77a578572f7223cc83986 Mon Sep 17 00:00:00 2001 From: silverpill Date: Thu, 2 Feb 2023 20:49:50 +0000 Subject: [PATCH] Use "warn" log level for delivery errors --- CHANGELOG.md | 1 + src/activitypub/deliverer.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36c1a62..98a0a6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/activitypub/deliverer.rs b/src/activitypub/deliverer.rs index 28783b1..ac809b6 100644 --- a/src/activitypub/deliverer.rs +++ b/src/activitypub/deliverer.rs @@ -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,