Fix "req is not defined" error message (which indicates a WebDAV error)
This commit is contained in:
parent
e457e5bdfe
commit
db43af33ac
1 changed files with 1 additions and 1 deletions
|
@ -1091,7 +1091,7 @@ Zotero.Sync.Storage.WebDAV = (function () {
|
|||
);
|
||||
})
|
||||
.catch(function (e) {
|
||||
var msg = "HTTP " + req.status + " error from WebDAV server "
|
||||
var msg = "HTTP " + e.status + " error from WebDAV server "
|
||||
+ "for PUT request";
|
||||
Zotero.debug(msg, 2);
|
||||
Components.utils.reportError(msg);
|
||||
|
|
Loading…
Reference in a new issue