diff --git a/scripts/change-password.js b/scripts/change-password.js index c050b26a1..ec88f606c 100644 --- a/scripts/change-password.js +++ b/scripts/change-password.js @@ -49,7 +49,7 @@ async function changePassword() { console.log(`Password changed successfully for ${username}.`); } catch (e) { - console.error('Error changing password:', e); + console.error('Error changing password:', e.message || e); } finally { await prisma.$disconnect(); }