Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using Exception.message #96

Merged
merged 1 commit into from
Sep 4, 2018
Merged

Stop using Exception.message #96

merged 1 commit into from
Sep 4, 2018

Conversation

mattbriancon
Copy link
Contributor

Exception.message has been deprecated since Python 2.6 in favor of leveraging Exception.__str__() or Exception.args.

`Exception.message` has been deprecated since Python 2.6 in favor of leveraging `Exception.__str__()` or `Exception.args`.
@eli-darkly
Copy link
Contributor

Good catch, thanks.

@eli-darkly eli-darkly merged commit fc80a43 into launchdarkly:master Sep 4, 2018
@eli-darkly
Copy link
Contributor

I'll add a unit test to verify that exception logging works correctly in all versions of Python.

@eli-darkly eli-darkly mentioned this pull request Sep 6, 2018
@eli-darkly
Copy link
Contributor

Version 6.4.1 includes this fix.

@mattbriancon mattbriancon deleted the patch-1 branch September 10, 2018 21:26
@mattbriancon
Copy link
Contributor Author

Thanks for the quick turn around!

eli-darkly added a commit that referenced this pull request Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants