|
1 |
| -/*! Raven.js 3.2.0 (d052e7e) | github.com/getsentry/raven-js */ |
| 1 | +/*! Raven.js 3.2.1 (bbd229d) | github.com/getsentry/raven-js */ |
2 | 2 |
|
3 | 3 | /*
|
4 | 4 | * Includes TraceKit
|
@@ -150,7 +150,7 @@ Raven.prototype = {
|
150 | 150 | // webpack (using a build step causes webpack #1617). Grunt verifies that
|
151 | 151 | // this value matches package.json during build.
|
152 | 152 | // See: https://github.com/getsentry/raven-js/issues/465
|
153 |
| - VERSION: '3.2.0', |
| 153 | + VERSION: '3.2.1', |
154 | 154 |
|
155 | 155 | debug: false,
|
156 | 156 |
|
@@ -1177,7 +1177,9 @@ Raven.prototype = {
|
1177 | 1177 | // For now, we only want to truncate the two different messages
|
1178 | 1178 | // but this could/should be expanded to just trim everything
|
1179 | 1179 | var max = this._globalOptions.maxMessageLength;
|
1180 |
| - data.message = truncate(data.message, max); |
| 1180 | + if (data.message) { |
| 1181 | + data.message = truncate(data.message, max); |
| 1182 | + } |
1181 | 1183 | if (data.exception) {
|
1182 | 1184 | var exception = data.exception.values[0];
|
1183 | 1185 | exception.value = truncate(exception.value, max);
|
@@ -2062,7 +2064,7 @@ TraceKit.computeStackTrace = (function computeStackTraceWrapper() {
|
2062 | 2064 |
|
2063 | 2065 | var chrome = /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,
|
2064 | 2066 | gecko = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,
|
2065 |
| - winjs = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i, |
| 2067 | + winjs = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i, |
2066 | 2068 | lines = ex.stack.split('\n'),
|
2067 | 2069 | stack = [],
|
2068 | 2070 | parts,
|
|
0 commit comments