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