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

Handle panics. #309

Merged
merged 1 commit into from Nov 14, 2016
Merged

Handle panics. #309

merged 1 commit into from Nov 14, 2016

Conversation

@Ms2ger
Copy link
Collaborator

Ms2ger commented Oct 25, 2016

This change is Reviewable

Ok(result) => result,
Err(error) => {
PANIC_RESULT.with(|result| {
assert!(result.borrow().is_none());

This comment has been minimized.

@jdm

jdm Oct 25, 2016

Member

When we hit this assertion in servo/servo#13635 we get no information about either the existing stored panic or the new one. Can we improve that somehow?

@jdm
Copy link
Member

jdm commented Nov 14, 2016

@bors-servo: r+
We can fix this code later.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 14, 2016

📌 Commit b8920d5 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Nov 14, 2016

Testing commit b8920d5 with merge 634b168...

bors-servo added a commit that referenced this pull request Nov 14, 2016
Handle panics.

<!-- Reviewable:start -->

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/309)

<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 14, 2016

☀️ Test successful - status-appveyor, status-travis

@bors-servo bors-servo merged commit b8920d5 into master Nov 14, 2016
3 of 4 checks passed
3 of 4 checks passed
continuous-integration/travis-ci/push The Travis CI build failed
Details
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@Ms2ger Ms2ger deleted the catch-panic branch Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.