Skip to content

Commit 0f0627c

Browse files
authored
Merge pull request #2970 from jonrutter/patch-2
Update part4b: Clarify express-async-errors import order
2 parents b28382e + ca265d2 commit 0f0627c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/en/part4b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ npm install express-async-errors
832832
```
833833

834834
Using the library is <i>very</i> easy.
835-
You introduce the library in <i>app.js</i>:
835+
You introduce the library in <i>app.js</i>, _before_ you import your routes:
836836

837837
```js
838838
const config = require('./utils/config')

0 commit comments

Comments
 (0)