Log on wrong actor follow
This commit is contained in:
		
							parent
							
								
									877fa1418e
								
							
						
					
					
						commit
						26b4129261
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -152,6 +152,7 @@ async fn handle_follow( | ||||||
|     let my_id: XsdAnyUri = state.generate_url(UrlKind::Actor).parse()?; |     let my_id: XsdAnyUri = state.generate_url(UrlKind::Actor).parse()?; | ||||||
| 
 | 
 | ||||||
|     if !input.object.is(&my_id) { |     if !input.object.is(&my_id) { | ||||||
|  |         error!("Wrong Actor, {:?}", input); | ||||||
|         return Err(MyError::WrongActor(input.object.id().to_string())); |         return Err(MyError::WrongActor(input.object.id().to_string())); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue