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
@@ -153,9 +153,9 @@ The callback is called **after** the event has been sent to the Sentry server.
153
153
154
154
## Integrations
155
155
### Connect/Express middleware
156
-
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.
156
+
The Raven middleware can be used as-is with either Connect or Express in the same way.
157
157
158
-
#### Connect
158
+
#### Connect and Express
159
159
```javascript
160
160
var connect =require('connect');
161
161
functionmainHandler(req, res) {
@@ -168,22 +168,34 @@ function onError(err, req, res, next) {
0 commit comments