- Notifications
You must be signed in to change notification settings - Fork2.2k
Commiteb99d8e
authored
fix: Avoid handling promise rejections twice in stability helper (#3657)
`PendingTasks.run` reports rejections of the promise to the`ErrorHandler`. This function already returns a promise that is meant tobe handled in the developer's application. If there _is_ handling there,the rejection is handled both in the `PendingTasks.run` and in thedeveloper callsite.This change updates the code to use `PendingTasks.add` instead, whichhas no built in error handling mechanisms.fixesangular/angular#619321 parentc1c6af9 commiteb99d8e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments
Comments
(0)