mirror of
https://github.com/mupen64plus-ae/acra-storage.git
synced 2024-11-26 23:10:41 +00:00
Fix error 500 on report submission due to unexpected stack trace format
This commit is contained in:
parent
1502a1aac8
commit
0eb1227379
@ -1 +1,5 @@
|
||||
[".idea"]
|
||||
[
|
||||
".idea",
|
||||
"LICENSE",
|
||||
"README.md"
|
||||
]
|
@ -1 +1,5 @@
|
||||
[".idea"]
|
||||
[
|
||||
".idea",
|
||||
"LICENSE",
|
||||
"README.md"
|
||||
]
|
@ -1,6 +1,6 @@
|
||||
function (head, req) {
|
||||
|
||||
// !code config/config.js
|
||||
var appDBPrefix = 'acra-';
|
||||
|
||||
start({ "headers" : {"Content-type" : "application/rss+xml"}});
|
||||
var NB_ITEMS_MAX = 30;
|
||||
|
@ -71,7 +71,11 @@ var addReportSignature = function(report) {
|
||||
result.full = exceptionName + " : " + trim(faultyLine);
|
||||
|
||||
var captureRegEx = /\((.*)\)/g;
|
||||
var faultyLineDigest = captureRegEx.exec(faultyLine)[1];
|
||||
var capturedFaultyLine = captureRegEx.exec(faultyLine);
|
||||
var faultyLineDigest = "unknown";
|
||||
if(capturedFaultyLine) {
|
||||
faultyLineDigest = capturedFaultyLine[1];
|
||||
}
|
||||
result.digest = exceptionName + " : " + faultyLineDigest;
|
||||
report.SIGNATURE = result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user