Skip to content

Commit 3dc866a

Browse files
authored
Don't trim exception msgs before dataCallback (#612)
1 parent 2a6390e commit 3dc866a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/raven.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,10 +1061,7 @@ Raven.prototype = {
10611061
if (!!this._globalOptions.ignoreErrors.test && this._globalOptions.ignoreErrors.test(message)) return;
10621062

10631063
message += '';
1064-
message = truncate(message, this._globalOptions.maxMessageLength);
1065-
10661064
fullMessage = (type ? type + ': ' : '') + message;
1067-
fullMessage = truncate(fullMessage, this._globalOptions.maxMessageLength);
10681065

10691066
if (frames && frames.length) {
10701067
fileurl = frames[0].filename || fileurl;

0 commit comments

Comments
 (0)