mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-19 00:16:45 +02:00
Stop hiding exceptions after read is complete.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user