mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Pass through errors coming from FAL to the user
This commit is contained in:
@ -3555,6 +3555,7 @@ async function generateFalaiImage(prompt, negativePrompt, signal) {
|
||||
return { format: 'jpg', data: data.image };
|
||||
} else {
|
||||
const text = await result.text();
|
||||
console.log(text);
|
||||
throw new Error(text);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user