Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Avoid throwing null pointer exceptions when package update fails #829

Merged
merged 1 commit into from Aug 10, 2016

Conversation

nathansobo
Copy link
Contributor

Also, send assertion failures back to bugsnag when this happens.

Fixes #766

Also, send assertion failures back to bugsnag when this happens.
errorStack: error.stack,
errorStderr: error.stderr
}
console.error("Updating #{@type} #{pack.name} to #{version} failed:\n", error, error.stderr ? '')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a notification instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point, although we'd like to keep this pull-request scoped to fixing the bug without changing how we present the error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I didn't notice that it was already a console.error beforehand.

@nathansobo nathansobo merged commit 70fdb1b into master Aug 10, 2016
@nathansobo nathansobo deleted the ns-as-fix-update-error-handler branch August 10, 2016 18:52
nathansobo pushed a commit that referenced this pull request Aug 10, 2016
Avoid throwing null pointer exceptions when package update fails
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants