Add more helpful error message for file import error
This commit is contained in:
parent
39fc50913c
commit
4cf4e13a7b
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue