fx115: Fix word plugin installer not throwing on failure

This commit is contained in:
Adomas Venčkauskas 2024-03-28 14:02:22 +02:00 committed by Dan Stillman
parent dca7dcccab
commit 75aade6422

View file

@ -234,10 +234,10 @@ ZoteroPluginInstaller.prototype = {
var me = this; var me = this;
setTimeout(function() { setTimeout(function() {
me._progressWindow.focus(); me._progressWindow.focus();
setTimeout(function() { setTimeout(async function() {
me._progressWindow.focus(); me._progressWindow.focus();
try { try {
me._addon.install(me); await me._addon.install(me);
} catch(e) { } catch(e) {
me.error(); me.error();
throw e; throw e;