@honeybadger-io/js 4.0.2 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Honeybadger = factory());
|
|
5
5
|
})(this, (function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/******************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
9
9
|
|
|
10
10
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
var notifier = {
|
|
638
638
|
name: 'honeybadger-js',
|
|
639
639
|
url: 'https://github.com/honeybadger-io/honeybadger-js',
|
|
640
|
-
version: '4.0.
|
|
640
|
+
version: '4.0.5'
|
|
641
641
|
};
|
|
642
642
|
// Split at commas and spaces
|
|
643
643
|
var TAG_SEPARATOR = /,|\s+/;
|
|
@@ -1609,7 +1609,7 @@
|
|
|
1609
1609
|
_this.logger.debug('Dropping notice: max errors exceeded', notice);
|
|
1610
1610
|
return false;
|
|
1611
1611
|
}
|
|
1612
|
-
if (!notice.url) {
|
|
1612
|
+
if (notice && !notice.url) {
|
|
1613
1613
|
notice.url = document.URL;
|
|
1614
1614
|
}
|
|
1615
1615
|
_this.__incrementErrorsCount();
|