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 fa9d69e commit eec289bCopy full SHA for eec289b
src/raven.js
@@ -1280,15 +1280,15 @@ Raven.prototype = {
1280
status_code: null
1281
};
1282
1283
- self.captureBreadcrumb({
1284
- type: 'http',
1285
- category: 'fetch',
1286
- data: fetchData
1287
- });
1288
-
1289
return origFetch.apply(this, args).then(function(response) {
1290
fetchData.status_code = response.status;
1291
+ self.captureBreadcrumb({
+ type: 'http',
+ category: 'fetch',
+ data: fetchData
+ });
+
1292
return response;
1293
});
1294
0 commit comments