Skip to content

Commit ef81c0e

Browse files
authored
Update article.md
1 parent 440f408 commit ef81c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/11-async/08-async-await/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ f().catch(alert); // TypeError: failed to fetch // (*)
254254
*/!*
255255
```
256256

257-
If we forget to add `.catch` there, then we get an unhandled promise error (and can see it in the console). We can catch such errors using a global event handler as described in the chapter <info:promise-chaining>.
257+
If we forget to add `.catch` there, then we get an unhandled promise error (and can see it in the console). We can catch such errors using a global event handler as described in the chapter <info:promise-error-handling>.
258258

259259

260260
```smart header="`async/await` and `promise.then/catch`"

0 commit comments

Comments
 (0)