commit e6b4dde4720faea888ad69f06ab8d4508e8d9fd3
parent ae39584c689f554081f1304cf97c145b0862a4e9
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 13 Nov 2012 05:09:09 -0500
Debugging for non-PDF PDF download
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;
}