From c99607c85a293a565aa4110a69d04a9e8e9450b6 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Fri, 29 Jun 2018 00:21:22 +1000 Subject: Linting, housekeeping, duration fix (fixes #1074) --- demo/dist/demo.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'demo/dist/demo.js') diff --git a/demo/dist/demo.js b/demo/dist/demo.js index eb7bfda1..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 @@ -4130,6 +4137,7 @@ typeof navigator === "object" && (function () { tooltips: { controls: true }, + clickToPlay: false, /* controls: [ 'play-large', 'restart', -- cgit v1.2.3 From 566c05983233f935b2d537b4f9f682e464aab27c Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Fri, 29 Jun 2018 00:38:11 +1000 Subject: 3.3.16 --- demo/dist/demo.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'demo/dist/demo.js') diff --git a/demo/dist/demo.js b/demo/dist/demo.js index 6fe57ef3..7117f631 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.3', + VERSION: '3.26.2', debug: false, @@ -2351,9 +2351,7 @@ typeof navigator === "object" && (function () { return; } - // 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 === '') { + if (this._globalOptions.stacktrace || (options && options.stacktrace)) { // fingerprint on msg, not stack trace (legacy behavior, could be revisited) data.fingerprint = data.fingerprint == null ? msg : data.fingerprint; @@ -3510,11 +3508,6 @@ 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 -- cgit v1.2.3