From 75aade6422ac505045d72992509ff647482a8307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Thu, 28 Mar 2024 14:02:22 +0200 Subject: [PATCH] fx115: Fix word plugin installer not throwing on failure --- resource/word-processor-plugin-installer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/word-processor-plugin-installer.js b/resource/word-processor-plugin-installer.js index 877c6cd0ae..6951d77d77 100644 --- a/resource/word-processor-plugin-installer.js +++ b/resource/word-processor-plugin-installer.js @@ -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;