Skip to content

Add method to format exception traceback#1020

Closed
slide wants to merge 0 commit intopythonnet:masterfrom
slide:exception_format
Closed

Add method to format exception traceback#1020
slide wants to merge 0 commit intopythonnet:masterfrom
slide:exception_format

Conversation

@slide
Copy link
Copy Markdown
Contributor

@slide slide commented Dec 19, 2019

What does this implement/fix? Explain your changes.

This implements the ability to format an exception using traceback.format_exception. This is very useful for when you are embedding Python into an application and want to show the Python exception similar to how it would be printed in the Python console.

Does this close any currently open issues?

None that I know of.

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Updated the CHANGELOG

@slide
Copy link
Copy Markdown
Contributor Author

slide commented Dec 19, 2019

I will look into the failures and see if I can reproduce them.

@slide slide closed this Jan 15, 2020
@slide slide deleted the exception_format branch January 15, 2020 22:46
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.

1 participant