Skip to content

Fix exception string #1360

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

Merged
merged 4 commits into from
Jan 29, 2021
Merged

Fix exception string #1360

merged 4 commits into from
Jan 29, 2021

Conversation

filmor
Copy link
Member

@filmor filmor commented Jan 21, 2021

What does this implement/fix? Explain your changes.

Fixes #1359 by joining the traceback lines and separates the .NET stacktrace by an additional line.

Does this close any currently open issues?

#1359

Any other comments?

...

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
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

Ensure that the stacktrace list is joined into a single string and
adjust the formatting slightly such that the .NET stacktrace is
separated from the one from Python.

Fixes pythonnet#1359.
@filmor filmor force-pushed the fix-exception-string branch from 9811437 to ce61a6f Compare January 29, 2021 06:45
@filmor filmor merged commit 1afae4c into pythonnet:master Jan 29, 2021
@filmor filmor deleted the fix-exception-string branch January 29, 2021 06:50
@benoithudson
Copy link
Contributor

That was quick, thanks!

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.

Ugly traceback in PythonException
3 participants