Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
When ExpressionChangedAfterItHasBeenCheckedError is thrown, it logs the previous value and the current value and a stack trace. However, it is difficult to see in the stack trace which component is causing the error.
Proposed solution
Add the expression that threw the error into the message. This will make it clear at a glance where the problem is.
Alternatives considered
Add the template file that threw the error (can get this from the stack trace) into the message. This will show you what file name to look for as you are scanning the stack trace for it.
Which @angular/* package(s) are relevant/related to the feature request?
No response
Description
When ExpressionChangedAfterItHasBeenCheckedError is thrown, it logs the previous value and the current value and a stack trace. However, it is difficult to see in the stack trace which component is causing the error.
Proposed solution
Add the expression that threw the error into the message. This will make it clear at a glance where the problem is.
Alternatives considered
Add the template file that threw the error (can get this from the stack trace) into the message. This will show you what file name to look for as you are scanning the stack trace for it.