www

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

commit 2f2e8c25da009561a4ec3b12de01a22eaf12faab
parent af304f0834c065745ed316e307b7efa37a11a655
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  8 Sep 2010 18:33:28 +0000

Additional file sync debugging


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

diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js @@ -259,6 +259,10 @@ Zotero.Sync.Storage.Session.ZFS.prototype.downloadFile = function (request) { }, onStop: function (request, status, response, data) { if (status != 200) { + try { + Zotero.debug(this._response); + } + catch (e) {} var msg = "Unexpected status code " + status + " for request " + data.request.name + " in Zotero.Sync.Storage.Session.ZFS.downloadFile()"; Zotero.debug(msg, 1);