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

Improve tracability of "$digest already in progress" error #5549

Closed
@bevacqua

Description

@bevacqua

We need to improve this error as it is currently very obscure and hard to track down.

My suggestion would be to turn it into a $log warning that doesn't throw an error but still prints a stack trace.

Could we make it so that anything that would eventually trigger a $digest cycle check for $$phase at their entry point, and then have them print a warning and return?

If not, in which ways do you believe we could improve the traceability of $digest invocation overlaps?

Refer to this StackOverflow question for background

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions