Output debug message on restart error
This commit is contained in:
parent
67831bcb79
commit
2c81638fc7
1 changed files with 3 additions and 2 deletions
|
@ -3142,9 +3142,9 @@ var ZoteroPane = new function()
|
||||||
if (popup) {
|
if (popup) {
|
||||||
var pw = new Zotero.ProgressWindow();
|
var pw = new Zotero.ProgressWindow();
|
||||||
pw.changeHeadline(Zotero.getString('general.errorHasOccurred'));
|
pw.changeHeadline(Zotero.getString('general.errorHasOccurred'));
|
||||||
var desc = Zotero.getString('general.restartFirefox') + ' '
|
var msg = Zotero.getString('general.restartFirefox') + ' '
|
||||||
+ reportInstructions;
|
+ reportInstructions;
|
||||||
pw.addDescription(desc);
|
pw.addDescription(msg);
|
||||||
pw.show();
|
pw.show();
|
||||||
pw.startCloseTimer(8000);
|
pw.startCloseTimer(8000);
|
||||||
}
|
}
|
||||||
|
@ -3155,6 +3155,7 @@ var ZoteroPane = new function()
|
||||||
+ reportInstructions;
|
+ reportInstructions;
|
||||||
self.setItemsPaneMessage(msg, true);
|
self.setItemsPaneMessage(msg, true);
|
||||||
}
|
}
|
||||||
|
Zotero.debug(msg, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue