sendgrid / python-http-client

Twilio SendGrid's Python HTTP Client for calling APIs
https://sendgrid.com
MIT License
125 stars 101 forks source link

UnboundLocalError - local variable 'exc' referenced before assignment #149

Closed shtalinberg closed 3 years ago

shtalinberg commented 3 years ago

Hi guys

Issue Summary

https://github.com/sendgrid/python-http-client/blob/main/python_http_client/client.py#L180 in this line I got UnboundLocalError exception in our project local variable 'exc' referenced before assignment

shtalinberg commented 3 years ago

looks like a duplicate https://github.com/sendgrid/python-http-client/issues/144