From 295150361c997b10eab6011605f55d394f1b8f1d Mon Sep 17 00:00:00 2001 From: silverpill Date: Mon, 24 Oct 2022 21:19:48 +0000 Subject: [PATCH] Improve reporting of JSON parsing error --- src/activitypub/fetcher/fetchers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/fetcher/fetchers.rs b/src/activitypub/fetcher/fetchers.rs index 792aaa0..a522ad5 100644 --- a/src/activitypub/fetcher/fetchers.rs +++ b/src/activitypub/fetcher/fetchers.rs @@ -26,7 +26,7 @@ pub enum FetchError { #[error(transparent)] RequestError(#[from] reqwest::Error), - #[error("json parse error")] + #[error("json parse error: {0}")] JsonParseError(#[from] serde_json::Error), #[error(transparent)]