Fix translator error reports
This commit is contained in:
parent
c00820c128
commit
3079bf3e83
1 changed files with 3 additions and 2 deletions
|
@ -1511,9 +1511,10 @@ Zotero.Translate.Web.prototype.complete = function(returnValue, error) {
|
|||
}
|
||||
}
|
||||
|
||||
var translator = this.translator[0];
|
||||
Zotero.getSystemInfo(function(info) {
|
||||
var postBody = "id=" + encodeURIComponent(this.translator[0].translatorID) +
|
||||
"&lastUpdated=" + encodeURIComponent(this.translator[0].lastUpdated) +
|
||||
var postBody = "id=" + encodeURIComponent(translator.translatorID) +
|
||||
"&lastUpdated=" + encodeURIComponent(translator.lastUpdated) +
|
||||
"&diagnostic=" + encodeURIComponent(info) +
|
||||
"&errorData=" + encodeURIComponent(errorString);
|
||||
Zotero.HTTP.doPost("http://www.zotero.org/repo/report", postBody);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue