This commit is contained in:
		@@ -114,7 +114,7 @@ class ProxyElem:
 | 
			
		||||
            async with self.local() as session:
 | 
			
		||||
                resp = await session.post(proxy_server, json=request_data.dict())
 | 
			
		||||
                response_data = cast(
 | 
			
		||||
                    ProxyResponse, ProxyResponse.parse_obj(await resp.json())
 | 
			
		||||
                    ProxyResponse, ProxyResponse.parse_raw(await resp.text())
 | 
			
		||||
                )
 | 
			
		||||
        except (aiohttp.ClientError, pydantic.ValidationError) as e:
 | 
			
		||||
            logger.info(e)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user