Fix "req is not defined" error message (which indicates a WebDAV error)

This commit is contained in:
Dan Stillman 2013-10-12 02:54:28 -04:00
parent e457e5bdfe
commit db43af33ac

View file

@ -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);