Chimoney / chimoney-community-projects

Repo for Community Contributors
http://api.chimoney.io/
MIT License
136 stars 173 forks source link

👕 refactor: Refactor handle_request method to improve robustness #404

Closed Cyber-Freak999 closed 1 month ago

Cyber-Freak999 commented 1 month ago

Description

This PR refactors the _handle_request method in the BaseAPI class to improve reliability, exception management, and logging efficiency. The changes ensure that the API client behaves more predictably under failure conditions and performs better in logging operations.

Details

Cyber-Freak999 commented 1 month ago

Hey @phyleria Please have a look at this

phyleria commented 1 month ago

Ok ✅

Cyber-Freak999 commented 1 month ago

@phyleria @todak2000 Have a look at the improvement I made