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

Use proper methods to stringify exception #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Deltachaos
Copy link

@Deltachaos Deltachaos commented Jun 7, 2023

The current process to stringify exceptions does not produce the same output as if the exception would not have been catched. Especially the lack of parent exceptions makes it very difficult to debug.

@mnapoli
Copy link
Member

mnapoli commented Jun 16, 2023

Oh that's brilliant!

@Deltachaos just to be clear, can you confirm that this will print the exception in exactly the same way that PHP prints uncaught exceptions?

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