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

Rethrowing of exceptions by print_exception in src/core/Exception.pm doesn't preserve stacktrace #4422

Closed
p6rt opened this issue Jul 21, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 21, 2015

Migrated from rt.perl.org#125657 (status was 'rejected')

Searchable as RT125657$

@p6rt
Copy link
Author

p6rt commented Jul 21, 2015

From @hoelzro

For an example, see the attached script.

I understand that if the if $! { ... } block is hit, there's a limited amount of work that can be done, but I think we could probably go out of our way to get the backtrace where the exception happened more often so that's what the user sees.

@p6rt
Copy link
Author

p6rt commented Jul 21, 2015

From @hoelzro

test.pl

@p6rt
Copy link
Author

p6rt commented Jul 22, 2015

From @hoelzro

skids++ pointed out to me that it's gist that provides the backtrace for printing, so overriding gist will natually swallow any backtrace. Rejecting.

@p6rt
Copy link
Author

p6rt commented Jul 22, 2015

@hoelzro - Status changed from 'new' to 'rejected'

@p6rt p6rt closed this as completed Jul 22, 2015
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

No branches or pull requests

1 participant