Closed dibyadas closed 7 years ago
Hi @thinkingserious ! I have added custom exception handling. Do suggest changes for improvements. (P.S - Sorry for the delay. I got caught up in some work)
Hi @w- ! Have a look at this. What do you think? :)
Hey guys, i'll be out of town on vacation for the next few days. won't be able to respond on this topic till then.
Thanks for the heads up @w- and I hope you enjoy the vacation :)
@w-,
Do you have time to take a look? Thanks!
@thinkingserious,
In the meantime, how about I add tests for this? Where do you think would be a good place to add? Should I add it in the existing one or a different file for testing exceptions?
With Regards, Dibya Prakash Das
@dibyadas,
Please add the test in the existing file. Thanks!
Nice work @dibyadas and @w-! Looks like we are almost there :)
Hi @thinkingserious and @w- , I am not that familiar with adding tests, but I have tried to add some. If have also tried addressing your review comments. Please have a look and suggest changes if any.
Edit :- After pushing an commit the coverage passed but is now failing :confused: I not really familiar with this. I need some help here.
With Best Regards, Dibya Prakash Das
Hi @thinkingserious, I thought it would be good, if you could take a look at this. I am kind of stuck here. The code coverage passed and then failed for reasons I do not know. I thought maybe you could help me with this.
With Regards, Dibya Prakash Das
This looks good to me @dibyadas, what do you think @w-?
I'm ok with this.
Hello @dibyadas,
Thanks again for the PR!
We want to show our appreciation by sending you some swag. Could you please fill out this form so we can send it to you? Thanks!
Team SendGrid DX
Hi @thinkingserious, I have filled up the from. Thanks a lot! With Regards, Dibya Prakash Das
Per https://github.com/sendgrid/sendgrid-python/issues/323 if we could get examples of these awesome new exceptions in the README so other devs don't need to go surfing into tests to see examples of exceptions and what can cause them, I think that'd be super helpful.
Custom exceptions for
python_http_client
have been added. Only few exceptions have been added. Others will be added soon.