We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db857f9 commit 339d21fCopy full SHA for 339d21f
lib/client.js
@@ -532,7 +532,7 @@ extend(Raven.prototype, {
532
533
requestHandler: function() {
534
var self = this;
535
- return function ravenMiddleware(req, res, next) {
+ return function ravenRequestMiddleware(req, res, next) {
536
self.context({req: req}, function() {
537
domain.active.add(req);
538
domain.active.add(res);
@@ -543,7 +543,7 @@ extend(Raven.prototype, {
543
544
errorHandler: function() {
545
546
- return function(err, req, res, next) {
+ return function ravenErrorMiddleware(err, req, res, next) {
547
var status =
548
err.status ||
549
err.statusCode ||
0 commit comments