From e6b4dde4720faea888ad69f06ab8d4508e8d9fd3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 13 Nov 2012 05:09:09 -0500 Subject: [PATCH] Debugging for non-PDF PDF download --- chrome/content/zotero/xpcom/attachments.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index a30bd0f3a0..1f84c1a39f 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -299,6 +299,7 @@ Zotero.Attachments = new function(){ Zotero.MIME.sniffForMIMEType(str) != 'application/pdf') { Zotero.debug("Downloaded PDF did not have MIME type " + "'application/pdf' in Attachments.importFromURL()", 2); + Zotero.debug(str); attachmentItem.erase(); return; }