aboutsummaryrefslogtreecommitdiffstats
path: root/demo/dist/demo.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-06-21 09:11:05 +1000
committerSam Potts <sam@potts.es>2018-06-21 09:11:05 +1000
commit17dcb63c26e22ea8848056555a7c0ff19f779bf8 (patch)
tree8dd41ad9fd6d8bcfe6c2e2db583424f9df8e2524 /demo/dist/demo.js
parentf62e1da01a1a3cf78def1002a5cbe47db5cc9361 (diff)
parente04b90c9c030bf5629e034f616a636245770a8d1 (diff)
downloadplyr-17dcb63c26e22ea8848056555a7c0ff19f779bf8.tar.lz
plyr-17dcb63c26e22ea8848056555a7c0ff19f779bf8.tar.xz
plyr-17dcb63c26e22ea8848056555a7c0ff19f779bf8.zip
Merge branch 'develop'
# Conflicts: # dist/plyr.js.map # dist/plyr.min.js # dist/plyr.min.js.map # dist/plyr.polyfilled.js.map # dist/plyr.polyfilled.min.js # dist/plyr.polyfilled.min.js.map
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 eb7bfda1..fff14b05 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