error handling broke things

This commit is contained in:
Skylar Grant 2022-06-09 18:22:42 -04:00
parent 02ce211b3f
commit dae4288d2e
1 changed files with 8 additions and 12 deletions

View File

@ -27,7 +27,6 @@ const dotCommandFiles = fs.readdirSync('./dot-commands/').filter(file => file.en
// MySQL database connection
const mysql = require('mysql');
try {
const db = new mysql.createPool({
connectionLimit: 10,
host: dbHost,
@ -36,9 +35,6 @@ try {
database: dbName,
port: dbPort,
});
} catch (error) {
console.error(error);
}
const functions = {
// Functions for managing and creating Collections