This commit is contained in:
based 2024-03-05 07:10:59 +10:00
parent 64d9c9dc5d
commit 5f0bbcacf0

View File

@ -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 });
}