mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-25 03:14:39 +03:00
[PR #334] [MERGED] Better exception handling #699
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?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/334
Author: @lancepioch
Created: 6/6/2024
Status: ✅ Merged
Merged: 6/8/2024
Merged by: @notAreYouScared
Base:
main← Head:issue/297📝 Commits (4)
df26c4fBetter exception handlinga4435a7Pint fix51cd7a8Remove unused route files643e416Add required rule separately📊 Changes
5 files changed (+37 additions, -9 deletions)
View changed files
📝
app/Exceptions/Service/User/TwoFactorAuthenticationTokenInvalid.php(+3 -3)📝
app/Filament/Resources/ServerResource/Pages/CreateServer.php(+4 -3)📝
app/Filament/Resources/UserResource/Pages/EditUser.php(+6 -0)➕
app/Services/Exceptions/FilamentExceptionHandler.php(+24 -0)📝
bootstrap/app.php(+0 -3)📄 Description
This doesn't handle very case, but it lays the ground work to be able to do that. Resolves #297
Simply add the magic
exceptionmethod to a Livewire component and optionally add custom members to the Exception!🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.