mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-31 11:35:37 +01:00
oops
This commit is contained in:
parent
64d9c9dc5d
commit
5f0bbcacf0
@ -44,7 +44,7 @@ router.post('/caption-image', jsonParser, async (request, response) => {
|
||||
});
|
||||
|
||||
if (!result.ok) {
|
||||
console.log(color.red(`Claude API returned error: ${result.status} ${result.statusText}`));
|
||||
console.log(`Claude API returned error: ${result.status} ${result.statusText}`);
|
||||
return response.status(result.status).send({ error: true });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user