From 4e5fabce5f3b939ba0bdd1ce3f3a59c690e99776 Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 19 Dec 2022 21:45:52 -0600 Subject: [PATCH] Also debug Kind in inbox --- src/routes/inbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/inbox.rs b/src/routes/inbox.rs index 202f803..18e4949 100644 --- a/src/routes/inbox.rs +++ b/src/routes/inbox.rs @@ -16,7 +16,7 @@ use activitystreams::{ use actix_web::{web, HttpResponse}; use http_signature_normalization_actix::prelude::{DigestVerified, SignatureVerified}; -#[tracing::instrument(name = "Inbox", skip_all, fields(id = input.id_unchecked().map(|id| id.as_str())))] +#[tracing::instrument(name = "Inbox", skip_all, fields(id = tracing::field::debug(&input.id_unchecked()), kind = tracing::field::debug(&input.kind())))] #[allow(clippy::too_many_arguments)] pub(crate) async fn route( state: web::Data,