Log errors when they occur but are not caught
This commit is contained in:
parent
11bb38dcbf
commit
6c7da74783
1 changed files with 4 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// main.ts
|
||||
//
|
||||
// Written by: Tyler Akins (2020/01/06 - 2020/01/07)
|
||||
// Written by: Tyler Akins (2020/01/06 - 2020/01/11)
|
||||
//
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,9 @@ import { START_BOT } from "./Twitch"
|
|||
|
||||
|
||||
const MAIN = async () => {
|
||||
START_BOT();
|
||||
START_BOT().catch(
|
||||
(err) => {console.error(err);}
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue