www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 5494c6d0c50e852c72e189899ee1770764cd859b
parent f3ba225f6f298f4fed43916ddeac75b65fb217f1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  5 Feb 2010 13:05:20 +0000

Clarify logged WebDAV error messages


Diffstat:
Mchrome/content/zotero/xpcom/storage/webdav.js | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js @@ -711,8 +711,8 @@ Zotero.Sync.Storage.Session.WebDAV.prototype.getLastSyncTime = function (callbac self._checkResponse(req, self); if (req.status != 200) { - var msg = "Unexpected status code " + req.status + " caching " - + "authentication credentials in Zotero.Sync.Storage.Session.WebDAV.getLastSyncTime()"; + var msg = "Unexpected status code " + req.status + " for OPTIONS request " + + "in Zotero.Sync.Storage.Session.WebDAV.getLastSyncTime()"; Zotero.debug(msg, 1); Components.utils.reportError(msg); self.onError(Zotero.Sync.Storage.Session.WebDAV.prototype.defaultErrorRestart); @@ -742,8 +742,8 @@ Zotero.Sync.Storage.Session.WebDAV.prototype.getLastSyncTime = function (callbac } if (req.status != 200 && req.status != 404) { - var msg = "Unexpected status code " + req.status + " getting " - + "last file sync time"; + var msg = "Unexpected status code " + req.status + " for HEAD request " + + "in Zotero.Sync.Storage.Session.WebDAV.getLastSyncTime()"; Zotero.debug(msg, 1); Components.utils.reportError(msg); self.onError();