diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index a7ae4ec873..e246a88bc7 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -102,6 +102,10 @@ Zotero.Attachments = new function(){ // hmph Zotero.DB.rollbackTransaction(); + var msg = "Failed importing file " + file.path; + Components.utils.reportError(msg); + Zotero.debug(msg, 1); + try { // Clean up if (itemID) {