Kind: Serialize,
<T as Extends<Kind>>::Error: From<serde_json::Error> + Send + Sync + 'static,
{
- dbg!(&mentions, &activity.id_unchecked());
debug!(
"Sending mentions activity {:?} to {:?}",
&activity.id_unchecked(),
}
for to_url in &to {
- assert!(check_is_apub_id_valid(&to_url).is_ok());
+ check_is_apub_id_valid(&to_url)?;
}
let activity = activity.into_any_base()?;
use lemmy_structs::blocking;
use lemmy_utils::{location_info, LemmyError};
use lemmy_websocket::LemmyContext;
-use log::debug;
+use log::info;
use serde::{Deserialize, Serialize};
use std::fmt::Debug;
.into(),
);
}
- debug!(
+ info!(
"Community {} received activity {:?}",
&community.name, &activity
);
.actor()?
.as_single_xsd_any_uri()
.context(location_info!())?;
- debug!(
+ info!(
"Community {} inbox received activity {:?} from {}",
community.name,
&activity.id_unchecked(),