aboutsummaryrefslogtreecommitdiffstats
path: root/demo/dist/demo.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-07-18 21:45:31 +1000
committerGitHub <noreply@github.com>2018-07-18 21:45:31 +1000
commitdc2feedd79d3837db6b136ad909c710d0794ab28 (patch)
treeeddca50a50ce4627208a4b4e18b3bbe847cad355 /demo/dist/demo.js
parent8616895e57db03a7613f91823e6c81358427df09 (diff)
parentf8e4ba36e5a32e15632798b23f46c7f65d9e95d3 (diff)
downloadplyr-dc2feedd79d3837db6b136ad909c710d0794ab28.tar.lz
plyr-dc2feedd79d3837db6b136ad909c710d0794ab28.tar.xz
plyr-dc2feedd79d3837db6b136ad909c710d0794ab28.zip
Merge pull request #1103 from sampotts/develop
v3.3.12
Diffstat (limited to 'demo/dist/demo.js')
-rw-r--r--demo/dist/demo.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/demo/dist/demo.js b/demo/dist/demo.js
index 7117f631..6fe57ef3 100644
--- a/demo/dist/demo.js
+++ b/demo/dist/demo.js
@@ -1874,7 +1874,7 @@ typeof navigator === "object" && (function () {
// webpack (using a build step causes webpack #1617). Grunt verifies that
// this value matches package.json during build.
// See: https://github.com/getsentry/raven-js/issues/465
- VERSION: '3.26.2',
+ VERSION: '3.26.3',
debug: false,
@@ -2351,7 +2351,9 @@ typeof navigator === "object" && (function () {
return;
}
- if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
+ // Always attempt to get stacktrace if message is empty.
+ // It's the only way to provide any helpful information to the user.
+ if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
@@ -3508,6 +3510,11 @@ typeof navigator === "object" && (function () {
options
);
+ var ex = data.exception.values[0];
+ if (ex.type == null && ex.value === '') {
+ ex.value = 'Unrecoverable error caught';
+ }
+
// Move mechanism from options to exception interface
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
// too much