X Tutup
Skip to content

refactor(NgZoneImpl): ensure zone spec is available#7702

Closed
PatrickJS wants to merge 1 commit intoangular:masterfrom
PatrickJS:patch-5
Closed

refactor(NgZoneImpl): ensure zone spec is available#7702
PatrickJS wants to merge 1 commit intoangular:masterfrom
PatrickJS:patch-5

Conversation

@PatrickJS
Copy link
Copy Markdown
Contributor

                    throw new Error('ZoneSpec required!');
                    ^

Error: ZoneSpec required!
  • What is the new behavior (if this is a feature change)?
    Avoids an error when there is no long stack trace
  • Other information:

trace could be true (in dev mode) while there is no long stack trace spec

cc @mhevery

trace could be true (in dev mode) while there is no long stack trace spec
}
if (trace) {
if (trace && Zone['longStackTraceZoneSpec']) {
this.inner = this.inner.fork(Zone['longStackTraceZoneSpec']);
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.

including a warning might be a good idea

@mary-poppins
Copy link
Copy Markdown

Merging PR #7702 on behalf of @jelbourn to branch presubmit-jelbourn-pr-7702.

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

X Tutup