Log the entire post instance for debugging

This commit is contained in:
Aleksei Voronov 2023-10-15 17:27:18 +02:00
parent fad2283aa2
commit 892d600754
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ impl CommitProcessor for PostIndexer {
} => { } => {
for algo in self.algos.iter_all() { for algo in self.algos.iter_all() {
if algo.should_index_post(author_did, post).await? { if algo.should_index_post(author_did, post).await? {
info!("Received insertable post from {author_did}: {}", post.text); info!("Received insertable post from {author_did}: {post:?}", );
self.database self.database
.insert_profile_if_it_doesnt_exist(author_did) .insert_profile_if_it_doesnt_exist(author_did)