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

fix(showError): fix ignoreConsoleErrorUncaughtError may change during drain microtask #763

Merged
merged 2 commits into from May 2, 2017

Conversation

JiaLiPassion
Copy link
Collaborator

@JiaLiPassion JiaLiPassion commented Apr 27, 2017

  1. fix showError flag issue.
    showError flag may change when drain microTask queue. So if we change the flag in one of the microTask, the flag will not be updated.

  2. refactor parameter name in promise.handleUnhandledRejection

  3. refactor showError, because we change the showError logic above, so maybe we provide
    showUncaughtError() in ZonePrivate is better.

@mhevery, please review that ZonePrivate API change is ok or not. Thank you!

@mhevery mhevery merged commit 4baeb5c into angular:master May 2, 2017
@JiaLiPassion JiaLiPassion deleted the promiseerror branch May 6, 2017 04:52
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.

None yet

3 participants