Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

fix(promise): include stack trace in an unhandlerd promise#463

Merged
mhevery merged 1 commit intoangular:masterfrom
mhevery:better-errors
Sep 20, 2016
Merged

fix(promise): include stack trace in an unhandlerd promise#463
mhevery merged 1 commit intoangular:masterfrom
mhevery:better-errors

Conversation

@mhevery
Copy link
Copy Markdown
Contributor

@mhevery mhevery commented Sep 20, 2016

No description provided.

Promise.reject('rejectedErrorShouldBeHandled');
expect(promiseError).toBe(null);
error = new Error('rejectedErrorShouldBeHandled');
Promise.reject(error);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why remove the expectation that promiseError is null here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Opps, that was on accident, will add it back.

@juliemr
Copy link
Copy Markdown
Member

juliemr commented Sep 20, 2016

Other than that question, LGTM.

@mhevery mhevery merged commit 737f8d8 into angular:master Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants