8000 raven-js@3.26.3 · boxsome/sentry-javascript@b85398f · GitHub
[go: up one dir, main page]

Skip to content

Commit b85398f

Browse files
committed
raven-js@3.26.3
1 parent 3c01b01 commit b85398f

File tree

114 files changed

+479
-244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+479
-244
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "3.26.2",
3+
"version": "3.26.3",
44
"dependencies": {},
55
"main": "dist/raven.js",
66
"ignore": [

dist/angular,console,ember,require,vue/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -419,7 +419,7 @@ Raven.prototype = {
419419
// webpack (using a build step causes webpack #1617). Grunt verifies that
420420
// this value matches package.json during build.
421421
// See: https://github.com/getsentry/raven-js/issues/465
422-
VERSION: '3.26.< 10000 span class="x x-first x-last">2',
422+
VERSION: '3.26.3',
423423

424424
debug: false,
425425

@@ -896,7 +896,9 @@ Raven.prototype = {
896896
return;
897897
}
898898

899-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
899+
// Always attempt to get stacktrace if message is empty.
900+
// It's the only way to provide any helpful information to the user.
901+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
900902
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
901903
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
902904

@@ -2053,6 +2055,11 @@ Raven.prototype = {
20532055
options
20542056
);
20552057

2058+
var ex = data.exception.values[0];
2059+
if (ex.type == null && ex.value === '') {
2060+
ex.value = 'Unrecoverable error caught';
2061+
}
2062+
20562063
// Move mechanism from options to exception interface
20572064
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
20582065
// too much

dist/angular,console,ember,require,vue/raven.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember,require,vue/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember,require/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -369,7 +369,7 @@ Raven.prototype = {
369369
// webpack (using a build step causes webpack #1617). Grunt verifies that
370370
// this value matches package.json during build.
371371
// See: https://github.com/getsentry/raven-js/issues/465
372-
VERSION: '3.26.2',
372+
VERSION: '3.26.3',
373373

374374
debug: false,
375375

@@ -846,7 +846,9 @@ Raven.prototype = {
846846
return;
847847
}
848848

849-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
849+
// Always attempt to get stacktrace if message is empty.
850+
// It's the only way to provide any helpful information to the user.
851+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
850852
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
851853
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
852854

@@ -2003,6 +2005,11 @@ Raven.prototype = {
20032005
options
20042006
);
20052007

2008+
var ex = data.exception.values[0];
2009+
if (ex.type == null && ex.value === '') {
2010+
ex.value = 'Unrecoverable error caught';
2011+
}
2012+
20062013
// Move mechanism from options to exception interface
20072014
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
20082015
// too much

dist/angular,console,ember,require/raven.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember,require/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember,vue/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -402,7 +402,7 @@ Raven.prototype = {
402402
// webpack (using a build step causes webpack #1617). Grunt verifies that
403403
// this value matches package.json during build.
404404
// See: https://github.com/getsentry/raven-js/issues/465
405-
VERSION: '3.26.2',
405+
VERSION: '3.26.3',
406406

407407
debug: false,
408408

@@ -879,7 +879,9 @@ Raven.prototype = {
879879
return;
880880
}
881881

882-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
882+
// Always attempt to get stacktrace if message is empty.
883+
// It's the only way to provide any helpful information to the user.
884+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
883885
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
884886
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
885887

@@ -2036,6 +2038,11 @@ Raven.prototype = {
20362038
options
20372039
);
20382040

2041+
var ex = data.exception.values[0];
2042+
if (ex.type == null && ex.value === '') {
2043+
ex.value = 'Unrecoverable error caught';
2044+
}
2045+
20392046
// Move mechanism from options to exception interface
20402047
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
20412048
// too much

dist/angular,console,ember,vue/raven.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember,vue/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -352,7 +352,7 @@ Raven.prototype = {
352352
// webpack (using a build step causes webpack #1617). Grunt verifies that
353353
// this value matches package.json during build.
354354
// See: https://github.com/getsentry/raven-js/issues/465
355-
VERSION: '3.26.2',
355+
VERSION: '3.26.3',
356356

357357
debug: false,
358358

@@ -829,7 +829,9 @@ Raven.prototype = {
829829
return;
830830
}
831831

832-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
832+
// Always attempt to get stacktrace if message is empty.
833+
// It's the only way to provide any helpful information to the user.
834+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
833835
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
834836
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
835837

@@ -1986,6 +1988,11 @@ Raven.prototype = {
19861988
options
19871989
);
19881990

1991+
var ex = data.exception.values[0];
1992+
if (ex.type == null && ex.value === '') {
1993+
ex.value = 'Unrecoverable error caught';
1994+
}
1995+
19891996
// Move mechanism from options to exception interface
19901997
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
19911998
// too much

dist/angular,console,ember/raven.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,ember/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,require,vue/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -386,7 +386,7 @@ Raven.prototype = {
386386
// webpack (using a build step causes webpack #1617). Grunt verifies that
387387
// this value matches package.json during build.
388388
// See: https://github.com/getsentry/raven-js/issues/465
389-
VERSION: '3.26.2',
389+
VERSION: '3.26.3',
390390

391391
debug: false,
392392

@@ -863,7 +863,9 @@ Raven.prototype = {
863863
return;
864864
}
865865

866-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
866+
// Always attempt to get stacktrace if message is empty.
867+
// It's the only way to provide any helpful information to the user.
868+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
867869
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
868870
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
869871

@@ -2020,6 +2022,11 @@ Raven.prototype = {
20202022
options
20212023
);
20222024

2025+
var ex = data.exception.values[0];
2026+
if (ex.type == null && ex.value === '') {
2027+
ex.value = 'Unrecoverable error caught';
2028+
}
2029+
20232030
// Move mechanism from options to exception interface
20242031
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
20252032
// too much

dist/angular,console,require,vue/raven.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,require,vue/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,require/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -336,7 +336,7 @@ Raven.prototype = {
336336
// webpack (using a build step causes webpack #1617). Grunt verifies that
337337
// this value matches package.json during build.
338338
// See: https://github.com/getsentry/raven-js/issues/465
339-
VERSION: '3.26.2',
339+
VERSION: '3.26.3',
340340

341341
debug: false,
342342

@@ -813,7 +813,9 @@ Raven.prototype = {
813813
return;
814814
}
815815

816-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
816+
// Always attempt to get stacktrace if message is empty.
817+
// It's the only way to provide any helpful information to the user.
818+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
817819
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
818820
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
819821

@@ -1970,6 +1972,11 @@ Raven.prototype = {
19701972
options
19711973
);
19721974

1975+
var ex = data.exception.values[0];
1976+
if (ex.type == null && ex.value === '') {
1977+
ex.value = 'Unrecoverable error caught';
1978+
}
1979+
19731980
// Move mechanism from options to exception interface
19741981
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
19751982
// too much

dist/angular,console,require/raven.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,require/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,vue/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -369,7 +369,7 @@ Raven.prototype = {
369369
// webpack (using a build step causes webpack #1617). Grunt verifies that
370370
// this value matches package.json during build.
371371
// See: https://github.com/getsentry/raven-js/issues/465
372-
VERSION: '3.26.2',
372+
VERSION: '3.26.3',
373373

374374
debug: false,
375375

@@ -846,7 +846,9 @@ Raven.prototype = {
846846
return;
847847
}
848848

849-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
849+
// Always attempt to get stacktrace if message is empty.
850+
// It's the only way to provide any helpful information to the user.
851+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
850852
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
851853
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
852854

@@ -2003,6 +2005,11 @@ Raven.prototype = {
20032005
options
20042006
);
20052007

2008+
var ex = data.exception.values[0];
2009+
if (ex.type == null && ex.value === '') {
2010+
ex.value = 'Unrecoverable error caught';
2011+
}
2012+
20062013
// Move mechanism from options to exception interface
20072014
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
20082015
// too much

dist/angular,console,vue/raven.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console,vue/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -319,7 +319,7 @@ Raven.prototype = {
319319
// webpack (using a build step causes webpack #1617). Grunt verifies that
320320
// this value matches package.json during build.
321321
// See: https B41A ://github.com/getsentry/raven-js/issues/465
322-
VERSION: '3.26.2',
322+
VERSION: '3.26.3',
323323

324324
debug: false,
325325

@@ -796,7 +796,9 @@ Raven.prototype = {
796796
return;
797797
}
798798

799-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
799+
// Always attempt to get stacktrace if message is empty.
800+
// It's the only way to provide any helpful information to the user.
801+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
800802
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
801803
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
802804

@@ -1953,6 +1955,11 @@ Raven.prototype = {
19531955
options
19541956
);
19551957

1958+
var ex = data.exception.values[0];
1959+
if (ex.type == null && ex.value === '') {
1960+
ex.value = 'Unrecoverable error caught';
1961+
}
1962+
19561963
// Move mechanism from options to exception interface
19571964
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
19581965
// too much

dist/angular,console/raven.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,console/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,ember,require,vue/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -384,7 +384,7 @@ Raven.prototype = {
384384
// webpack (using a build step causes webpack #1617). Grunt verifies that
385385
// this value matches package.json during build.
386386
// See: https://github.com/getsentry/raven-js/issues/465
387-
VERSION: '3.26.2',
387+
VERSION: '3.26.3',
388388

389389
debug: false,
390390

@@ -861,7 +861,9 @@ Raven.prototype = {
861861
return;
862862
}
863863

864-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
864+
// Always attempt to get stacktrace if message is empty.
865+
// It's the only way to provide any helpful information to the user.
866+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
865867
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
866868
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
867869

@@ -2018,6 +2020,11 @@ Raven.prototype = {
20182020
options
20192021
);
20202022

2023+
var ex = data.exception.values[0];
2024+
if (ex.type == null && ex.value === '') {
2025+
ex.value = 'Unrecoverable error caught';
2026+
}
2027+
20212028
// Move mechanism from options to exception interface
20222029
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
20232030
// too much

dist/angular,ember,require,vue/raven.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,ember,require,vue/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,ember,require/raven.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.26.2 (b10a875) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.26.3 (3c01b01) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -334,7 +334,7 @@ Raven.prototype = {
334334
// webpack (using a build step causes webpack #1617). Grunt verifies that
335335
// this value matches package.json during build.
336336
// See: https://github.com/getsentry/raven-js/issues/465
337-
VERSION: '3.26.2',
337+
VERSION: '3.26.3',
338338

339339
debug: false,
340340

@@ -811,7 +811,9 @@ Raven.prototype = {
811811
return;
812812
}
813813

814-
if (this._globalOptions.stacktrace || (options && options.stacktrace)) {
814+
// Always attempt to get stacktrace if message is empty.
815+
// It's the only way to provide any helpful information to the user.
816+
if (this._globalOptions.stacktrace || options.stacktrace || data.message === '') {
815817
// fingerprint on msg, not stack trace (legacy behavior, could be revisited)
816818
data.fingerprint = data.fingerprint == null ? msg : data.fingerprint;
817819

@@ -1968,6 +1970,11 @@ Raven.prototype = {
19681970
options
19691971
);
19701972

1973+
var ex = data.exception.values[0];
1974+
if (ex.type == null && ex.value === '') {
1975+
ex.value = 'Unrecoverable error caught';
1976+
}
1977+
19711978
// Move mechanism from options to exception interface
19721979
// We do this, as requiring user to pass `{exception:{mechanism:{ ... }}}` would be
19731980
// too much

dist/angular,ember,require/raven.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular,ember,require/raven.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0