Skip to content

Stop using Exception.message#96

Merged
eli-darkly merged 1 commit into
launchdarkly:masterfrom
mattbriancon:patch-1
Sep 4, 2018
Merged

Stop using Exception.message#96
eli-darkly merged 1 commit into
launchdarkly:masterfrom
mattbriancon:patch-1

Conversation

@mattbriancon

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Good catch, thanks.

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor

Version 6.4.1 includes this fix.

@mattbriancon mattbriancon deleted the patch-1 branch September 10, 2018 21:26
@mattbriancon

Copy link
Copy Markdown
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