improvement: better logs on deserialization errors
This commit is contained in:
		
							parent
							
								
									f4078a29eb
								
							
						
					
					
						commit
						a567cd81d5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -160,7 +160,7 @@ where | |||
|                     .expect("reqwest body is valid http body"), | ||||
|             ); | ||||
|             response.map_err(|e| { | ||||
|                 warn!("{}", e); | ||||
|                 warn!("Server returned bad response: {:?}", e); | ||||
|                 Error::BadServerResponse("Server returned bad response.") | ||||
|             }) | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue