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 7339bd8 commit d51bdbaCopy full SHA for d51bdba
src/raven.js
@@ -1396,6 +1396,8 @@ Raven.prototype = {
1396
var self = this;
1397
var globalOptions = this._globalOptions;
1398
1399
+ if (!this.isSetup()) return;
1400
+
1401
// Send along an event_id if not explicitly passed.
1402
// This event_id can be used to reference the error within Sentry itself.
1403
// Set lastEventId after we know the error should actually be sent
@@ -1406,8 +1408,6 @@ Raven.prototype = {
1406
1408
1407
1409
this._logDebug('debug', 'Raven about to send:', data);
1410
- if (!this.isSetup()) return;
-
1411
var auth = {
1412
sentry_version: '7',
1413
sentry_client: 'raven-js/' + this.VERSION,
0 commit comments