aahnik / wappdriver

Wondering how to send WhatsApp messages using Python using only 3 lines of code? You have come to the right place!
https://aahnik.github.io/wappdriver/
MIT License
46 stars 3 forks source link

Make a decorator which can be used for better error handling #23

Closed aahnik closed 3 years ago

aahnik commented 3 years ago

The error handling process is same. Current implementation repeats lines of code.

Making a decorator and just putting the decorator before any vulnerable function, would make code more modular and remove repetition.

aahnik commented 3 years ago

Modify driver functions to use this new decorator Status - pending