mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-07 15:48:46 +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) {
|
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 });
|
return response.status(result.status).send({ error: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user