docs: fixed typo (#1112)

This commit is contained in:
Tomas Ruud 2018-01-31 14:05:19 +09:00 committed by jongleberry
parent c2615ecc5c
commit e5db6a9833

View file

@ -208,7 +208,7 @@ Note:
## Error Handling ## Error Handling
By default outputs all errors to stderr unless `app.silent` is `true`. By default outputs all errors to stderr unless `app.silent` is `true`.
The default error handler also won't outputs errors when `err.status` is `404` or `err.expose` is `true`. The default error handler also won't output errors when `err.status` is `404` or `err.expose` is `true`.
To perform custom error-handling logic such as centralized logging you can add an "error" event listener: To perform custom error-handling logic such as centralized logging you can add an "error" event listener:
```js ```js