mirror of
				https://github.com/Eledio/superfaktura-client.git
				synced 2025-10-31 16:11:20 +01:00 
			
		
		
		
	superfaktura_api: preserve the exception context
This commit is contained in:
		| @@ -92,7 +92,7 @@ class SuperFakturaAPI: | ||||
|             except requests.exceptions.JSONDecodeError as e: | ||||
|                 raise SuperFakturaAPIException( | ||||
|                     f"Unable to decode response as JSON; {req.content!r}; {e}" | ||||
|                 ) | ||||
|                 ) from e | ||||
|         raise SuperFakturaAPIException( | ||||
|             f"Get status code: {req.status_code}; {req.content!r}" | ||||
|         ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user