Skip to content

Commit bd3d9e5

Browse files
committedMar 22, 2016
Merge pull request #690 from PlasmaPower/patch-1
Docs: v2 error handling is environment independent
2 parents 2b094eb + efcdd3b commit bd3d9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/api/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ app.context.db = db();
193193

194194
## Error Handling
195195

196-
By default outputs all errors to stderr unless __NODE_ENV__ is "test" or `app.silent` is `true`.
196+
By default outputs all errors to stderr unless `app.silent` is `true`.
197197
The default error handler also won't outputs errors when `err.status` is `404` or `err.expose` is `true`.
198198
To perform custom error-handling logic such as centralized logging you can add an "error" event listener:
199199

0 commit comments

Comments
 (0)
Please sign in to comment.