Fix exception import to match codebase style

Co-authored-by: notAreYouScared <1757840+notAreYouScared@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-10-28 13:05:38 +00:00
parent e2a75f278d
commit f0c4e7ed3f

View File

@ -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);
}