fix: add more details in migration logs

This commit is contained in:
Gauthier
2025-06-26 12:32:09 +02:00
committed by gauthier-th
parent 8c20223df6
commit 925247833f

View File

@@ -46,7 +46,7 @@ export const runMigrations = async (
} catch (e) {
// we stop Seerr if the migration failed
logger.error(
`Error while running migration '${migration}': ${e.message}`,
`Error while running migration '${migration}': ${e.message}\n${e.stack}`,
{
label: 'Settings Migrator',
}