Add error if prepareBot fails
This commit is contained in:
parent
f28055e024
commit
904fa25a6d
1 changed files with 3 additions and 1 deletions
|
@ -82,4 +82,6 @@ async function prepareBot(){
|
||||||
|
|
||||||
prepareBot().then( () => {
|
prepareBot().then( () => {
|
||||||
startBot();
|
startBot();
|
||||||
});
|
}).catch(error => {
|
||||||
|
console.error("Error preparing the bot:\n", error)
|
||||||
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue