commit
This commit is contained in:
parent
285650befe
commit
a79a05bc94
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,6 @@ async function generateImage(query, ctx, bot) {
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
addToLogs("--> error : " + err);
|
addToLogs("--> error : " + err);
|
||||||
bot.telegram.sendMessage(ctx.chat.id, "Something went wrong", {});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return image;
|
return image;
|
||||||
|
@ -31,6 +30,7 @@ async function answerQuestion(query) {
|
||||||
temperature: 0.9,
|
temperature: 0.9,
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
addToLogs("--> error : " + err);
|
||||||
})
|
})
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue