mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
Add error handling when trying to create or delete database #418
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @notAreYouScared on GitHub (Sep 4, 2025).
Originally assigned to: @rmartinoscar on GitHub.
Catch errors instead of showing a 500
925ab26fb4/app/Filament/Server/Resources/DatabaseResource/Pages/ListDatabases.php (L64-L71)925ab26fb4/app/Filament/Server/Resources/DatabaseResource.php (L124-L125)Example when mysql server is offline:
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it@notAreYouScared commented on GitHub (Sep 4, 2025):
We currently do this for password rotation, but not for the database delete action