message: Parse req from context, and requestHandler sets req on context
diff: @@ -228,6 +228,13 @@ extend(Raven.prototype, {
  values: domainContext.breadcrumbs || this._globalContext.breadcrumbs || []
  };
  + kwargs.request = extend({}, this._globalContext.request, domainContext.request, kwargs.request);
  + if (Object.keys(kwargs.request).length === 0) {
  + var req = extend({}, this._globalContext.req, domainContext.req, kwargs.req);
  + var parseUser = Object.keys(kwargs.user).length === 0 ? this.parseUser : false;
  + kwargs = extend(kwargs, parsers.parseRequest(req, parseUser));
  + }
  +
  kwargs.modules = utils.getModules();
  kwargs.server_name = kwargs.server_name || this.name;
  @@ -323,11 +330,6 @@ extend(Raven.prototype, {
  return eventId;
  },
  - /* The onErr param here is sort of ugly and won't typically be used
  - * but it lets us write the requestHandler middleware in terms of this function.
  - * We could consider getting rid of it and just duplicating the domain
  - * instantiation etc logic in the requestHandler middleware
  - */
  context: function (ctx, func) {
  if (!func && typeof ctx === 'function') {
  func = ctx;
  @@ -458,7 +460,7 @@ extend(Raven.prototype, {
  requestHandler: function () {
  var self = this;
  return function (req, res, next) {
  - self.context({}, function () {
  + self.context({ req: req }, function () {
  domain.active.add(req);
  domain.active.add(res);
  next();
  