From 4e5aa69d45ab8f52031b7bdffaf89dba9f917464 Mon Sep 17 00:00:00 2001 From: Comus Leong Date: Sat, 28 Apr 2018 16:10:45 +0800 Subject: [PATCH] fix Raven.requestHandler --- shared/raven/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/raven/index.js b/shared/raven/index.js index 94d9ec4bd7..7553b9124f 100644 --- a/shared/raven/index.js +++ b/shared/raven/index.js @@ -20,7 +20,7 @@ if ( captureException: noop, setUserContext: noop, config: () => ({ install: noop }), - requestHandler: (req, res, next) => next(), + requestHandler: () => (req, res, next) => next(), parsers: { parseRequest: noop, },