From 2f2e8c25da009561a4ec3b12de01a22eaf12faab Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 8 Sep 2010 18:33:28 +0000 Subject: [PATCH] Additional file sync debugging --- chrome/content/zotero/xpcom/storage/zfs.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js index 8dd558b3f..1f5caaf81 100644 --- 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);