Add exception handling and logging
Closed this issue · 6 comments
SubhrajitPrusty commented
- Add exception handling in case of wrong usernames and changed usernames, or database access failure.
Any unforseeable changes should not take down the website. - Add logging
punndcoder28 commented
Hey! Can I take this up?
SubhrajitPrusty commented
Sure
punndcoder28 commented
Hey. Correct me if I am wrong. I need to add a try block in userdata.py
to check for valid username and try block in update.py
to check for database access. Is this right?
SubhrajitPrusty commented
yes
punndcoder28 commented
Hey! I've open a PR #131. Could you take a look and get back to me if there are any issues?
SubhrajitPrusty commented
fixed by #131