From 53ed176c13ce51008bef80e9e3fbd86785198c16 Mon Sep 17 00:00:00 2001 From: Jen Trudell Date: Tue, 26 Jul 2016 11:50:20 -0500 Subject: [PATCH] Fixes typo in error handling section of API readme (#786) --- docs/api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/index.md b/docs/api/index.md index f2a6d38..e5a0614 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -172,7 +172,7 @@ app.context.db = db(); ## Error Handling By default outputs all errors to stderr unless __NODE_ENV__ is "test" or `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: ```js