Skip to content

Commit 68c61ab

Browse files
committed
Updated readme
1 parent f59e646 commit 68c61ab

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22

33
[![Build Status](https://travis-ci.org/matthisk/debug-error-middleware.svg?branch=master)](https://travis-ci.org/matthisk/stack-middleware)
44

5-
Apply this debug middleware to display context information in the response to a
6-
failed request.
5+
Better context information for NodeJS Errors during development. The middleware
6+
parses potential errors that occur during a request/response cycle and display
7+
the stack trace plus additional context in the response.
8+
9+
Features:
10+
11+
* Stack traces + collapsable code (snippets)
12+
* Sourcemaps
13+
* Environment variables
14+
* Request information
715

816
![Example Page](https://raw.githubusercontent.com/matthisk/stack-middleware/master/assets/example.png)
917

@@ -16,7 +24,7 @@ Currently we support these two HTTP frameworks:
1624

1725
Never enable the DEBUG middleware in a production environment. This could result
1826
in leaking sensitive information (e.g. ENV variables). The middleware throws an
19-
error if you try to load it when `NODE_ENV` is set to `"production"`.
27+
error if you try to load it with `NODE_ENV` set to `"production"`.
2028

2129
**Express**
2230

0 commit comments

Comments
 (0)