Log the entire post instance for debugging
This commit is contained in:
		
							parent
							
								
									fad2283aa2
								
							
						
					
					
						commit
						892d600754
					
				| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue