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

Uncaught exceptions in start { } blocks get no backtrace when raised via await #4464

Closed
p6rt opened this issue Aug 10, 2015 · 6 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 10, 2015

Migrated from rt.perl.org#125782 (status was 'resolved')

Searchable as RT125782$

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @hoelzro

See the attached script.

The original backtrace of an exception seems to vanish when awaiting a Promise throws that exception.

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @hoelzro

On 2015-08-10 14​:20​:34, rob@​hoelz.ro wrote​:

See the attached script.

The original backtrace of an exception seems to vanish when awaiting a
Promise throws that exception.

Forgot the script!

@p6rt
Copy link
Author

p6rt commented Aug 10, 2015

From @hoelzro

test.pl

@p6rt
Copy link
Author

p6rt commented Nov 2, 2016

From @jnthn

On Mon Aug 10 14​:20​:34 2015, rob@​hoelz.ro wrote​:

See the attached script.

The original backtrace of an exception seems to vanish when awaiting a
Promise throws that exception.

Now we show both backtraces, and more clearly explain what happened (that we're throwing now because the result of a broken Promise was requested, followed by the original exception that broke the Promise and its location). Test in S17-promise/start.t.

/jnthn

@p6rt
Copy link
Author

p6rt commented Nov 2, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 2, 2016

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Nov 2, 2016
@p6rt p6rt added the conc label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant