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;
setTimeout(function() {
me._progressWindow.focus();
setTimeout(function() {
setTimeout(async function() {
me._progressWindow.focus();
try {
me._addon.install(me);
await me._addon.install(me);
} catch(e) {
me.error();
throw e;