Add error if prepareBot fails

This commit is contained in:
SileNce5k 2024-11-06 09:12:14 +01:00
parent f28055e024
commit 904fa25a6d
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -82,4 +82,6 @@ async function prepareBot(){
prepareBot().then( () => { prepareBot().then( () => {
startBot(); startBot();
}); }).catch(error => {
console.error("Error preparing the bot:\n", error)
})