We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
message
data
1 parent 9767103 commit f4c4499Copy full SHA for f4c4499
src/raven.js
@@ -1113,7 +1113,9 @@ Raven.prototype = {
1113
// For now, we only want to truncate the two different messages
1114
// but this could/should be expanded to just trim everything
1115
var max = this._globalOptions.maxMessageLength;
1116
- data.message = truncate(data.message, max);
+ if (data.message) {
1117
+ data.message = truncate(data.message, max);
1118
+ }
1119
if (data.exception) {
1120
var exception = data.exception.values[0];
1121
exception.value = truncate(exception.value, max);
0 commit comments