Skip to content

Commit

Permalink
Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Mar 22, 2012
1 parent 8485039 commit 902116a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/connect.js
Expand Up @@ -5,7 +5,7 @@ module.exports = function connectMiddleware(client) {
client = (client instanceof raven.Client) ? client : new raven.Client(client);
return function(err, req, res, next) {
var kwargs = parsers.parseRequest(req);
client.createFromError(err, kwargs, function(result) {
client.captureError(err, kwargs, function(result) {
res.sentry = client.getIdent(result);
next(err, req, res);
});
Expand Down

0 comments on commit 902116a

Please sign in to comment.