Skip to content

Commit 315f98d

Browse files
committed
[crashes] fix regex for parsing new lines
1 parent 1e39582 commit 315f98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/crashes/api/api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ plugins.setConfigs("crashes", {
129129
}
130130

131131
function preprocessCrash(crash){
132-
crash._error = crash._error.replace(/\r\n|\r|\n|\/n/g, "\n");
132+
crash._error = crash._error.replace(/\r\n|\r|\n/g, "\n");
133133
crash._error = crash._error.replace(/\t/g, "");
134134
crash._error = crash._error.trim();
135135
var error = crash._error;

0 commit comments

Comments
 (0)