mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Includes captioning error messages in toast
This commit is contained in:
@ -333,7 +333,7 @@ async function getCaptionForFile(file, prompt, quiet) {
|
|||||||
return caption;
|
return caption;
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
toastr.error('Failed to caption image.');
|
toastr.error(`Failed to caption image. ${error}`);
|
||||||
console.log(error);
|
console.log(error);
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user