diff --git a/src/activitypub/user.rs b/src/activitypub/user.rs index 366dc444..464403d4 100644 --- a/src/activitypub/user.rs +++ b/src/activitypub/user.rs @@ -85,6 +85,7 @@ pub async fn inbox( Path(_id): Path, Json(object): Json ) -> Result, StatusCode> { + tracing::info!("received object on inbox: {}", serde_json::to_string_pretty(&object).unwrap()); match object.base_type() { None => { Err(StatusCode::BAD_REQUEST) }, Some(BaseType::Link(_x)) => Err(StatusCode::UNPROCESSABLE_ENTITY), // we could but not yet