From f269facf9d4b9c6baaa864ace74f7cb43cea78e6 Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Tue, 11 Oct 2022 20:08:44 -0400 Subject: [PATCH] Stop hiding exceptions after read is complete. --- ui/media/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/media/main.js b/ui/media/main.js index cdf76066..bc7c4439 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -519,7 +519,7 @@ async function doMakeImage(task) { stepUpdate = JSON.parse(finalJSON) finalJSON = jsonStr } catch (e) { - if (e instanceof SyntaxError) { + if (e instanceof SyntaxError && !readComplete) { finalJSON += jsonStr } else { throw e