mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Expand/show DS prompt gen error
This commit is contained in:
@ -2312,7 +2312,8 @@ async function generatePicture(initiator, args, trigger, message, callback) {
|
|||||||
imagePath = await sendGenerationRequest(generationType, prompt, negativePromptPrefix, characterName, callback, initiator, abortController.signal);
|
imagePath = await sendGenerationRequest(generationType, prompt, negativePromptPrefix, characterName, callback, initiator, abortController.signal);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.trace(err);
|
console.trace(err);
|
||||||
throw new Error('SD prompt text generation failed.');
|
toastr.error('SD prompt text generation failed. Reason: ' + err, 'Image Generation');
|
||||||
|
throw new Error('SD prompt text generation failed. Reason: ' + err);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
$(stopButton).hide();
|
$(stopButton).hide();
|
||||||
|
Reference in New Issue
Block a user