message: feat: Capture breadcrumbs on failed fetch request
diff: @@ -1368,7 +1368,9 @@ Raven.prototype = {
  status_code: null
  };
  - return origFetch.apply(this, args).then(function(response) {
  + return origFetch
  + .apply(this, args)
  + .then(function(response) {
  fetchData.status_code = response.status;
  self.captureBreadcrumb({
  @@ -1378,6 +1380,17 @@ Raven.prototype = {
  });
  return response;
  + })
  + ['catch'](function(err) {
  + // if there is an error performing the request
  + self.captureBreadcrumb({
  + type: 'http',
  + category: 'fetch',
  + data: fetchData,
  + level: 'error'
  + });
  +
  + throw err;
  });
  };
  },
  