Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Ensure that all PATCH errors not in RQs are handled

Joshen Lim263d399c2b18
diff --git a/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx b/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
index 73b3de9eec1..033f797e9b7 100644
--- a/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
+++ b/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx
@@ -74,7 +74,10 @@ const ResetDbPassword: FC<any> = ({ disabled = false }) => {
ui.setNotification({ category: 'success', message: res.message })
setShowResetDbPass(false)
} else {
- ui.setNotification({ category: 'error', message: 'Failed to reset password' })
+ ui.setNotification({
+ category: 'error',
+ message: `Failed to reset password: ${res.error.message}`,
+ })
}
setIsUpdatingPassword(false)
}