Log errors when they occur but are not caught

This commit is contained in:
Tyler-A 2020-01-12 00:44:17 -06:00
parent 11bb38dcbf
commit 6c7da74783

View file

@ -1,7 +1,7 @@
// //
// main.ts // 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 () => { const MAIN = async () => {
START_BOT(); START_BOT().catch(
(err) => {console.error(err);}
);
}; };