You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -150,9 +150,9 @@ The callback is called **after** the event has been sent to the Sentry server.
150
150
151
151
## Integrations
152
152
### Connect/Express middleware
153
-
The Raven middleware can be used as-is with either Connect or Express in the same way. Take note that in your middlewares, Raven must appear _after_ your main handler to pick up any errors that may result from handling a request.
153
+
The Raven middleware can be used as-is with either Connect or Express in the same way.
154
154
155
-
#### Connect
155
+
#### Connect and Express
156
156
```javascript
157
157
var connect =require('connect');
158
158
functionmainHandler(req, res) {
@@ -165,22 +165,34 @@ function onError(err, req, res, next) {
0 commit comments