fix: add a debug log (#406)
This commit is contained in:
parent
b46e7b8ba2
commit
d111b0811f
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ export async function migrations() {
|
||||||
logger.error(
|
logger.error(
|
||||||
`Unable to connect to database \`${process.env.DATABASE_URL}\`, check your database connection`
|
`Unable to connect to database \`${process.env.DATABASE_URL}\`, check your database connection`
|
||||||
);
|
);
|
||||||
|
logger.debug(error);
|
||||||
} else {
|
} else {
|
||||||
logger.error('Failed to migrate database... exiting...');
|
logger.error('Failed to migrate database... exiting...');
|
||||||
logger.error(error);
|
logger.error(error);
|
||||||
|
|
Loading…
Reference in a new issue