mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-08 14:49:27 +01:00
Fix exception import to match codebase style
Co-authored-by: notAreYouScared <1757840+notAreYouScared@users.noreply.github.com>
This commit is contained in:
parent
e2a75f278d
commit
f0c4e7ed3f
@ -3,6 +3,7 @@
|
||||
namespace App\Filament\Components\Actions;
|
||||
|
||||
use App\Models\Allocation;
|
||||
use Exception;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Actions\BulkAction;
|
||||
use Filament\Forms\Components\Select;
|
||||
@ -84,7 +85,7 @@ class BulkUpdateAllocationIpAction extends BulkAction
|
||||
try {
|
||||
$allocation->update(['ip' => $newIp]);
|
||||
$updated++;
|
||||
} catch (\Exception $exception) {
|
||||
} catch (Exception $exception) {
|
||||
$failed++;
|
||||
report($exception);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user