Expand/show DS prompt gen error

This commit is contained in:
Wolfsblvt 2024-08-03 00:06:48 +02:00
parent 7498018ac6
commit 7d46ca212b
1 changed files with 2 additions and 1 deletions

View File

@ -2312,7 +2312,8 @@ async function generatePicture(initiator, args, trigger, message, callback) {
imagePath = await sendGenerationRequest(generationType, prompt, negativePromptPrefix, characterName, callback, initiator, abortController.signal);
} catch (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 {
$(stopButton).hide();