mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-24 16:08:55 +01:00
Stop hiding exceptions after read is complete.
This commit is contained in:
parent
5a36d280d7
commit
f269facf9d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user