fix: add a debug log (#406)

This commit is contained in:
Jayvin Hernandez 2023-05-22 15:32:26 -07:00 committed by GitHub
parent b46e7b8ba2
commit d111b0811f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,7 @@ export async function migrations() {
logger.error(
`Unable to connect to database \`${process.env.DATABASE_URL}\`, check your database connection`
);
logger.debug(error);
} else {
logger.error('Failed to migrate database... exiting...');
logger.error(error);