From 6ecff164f5993898bc52d4b637a73f375153fc53 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 3 Nov 2025 08:45:33 -0500 Subject: [PATCH] add catch for timeout --- app/Filament/Server/Resources/Files/Pages/ListFiles.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Filament/Server/Resources/Files/Pages/ListFiles.php b/app/Filament/Server/Resources/Files/Pages/ListFiles.php index 1c075347d..339620ca8 100644 --- a/app/Filament/Server/Resources/Files/Pages/ListFiles.php +++ b/app/Filament/Server/Resources/Files/Pages/ListFiles.php @@ -685,6 +685,12 @@ class ListFiles extends ListRecords } catch (FileExistsException) { // Ignore if the folder already exists. + } catch (ConnectionException $e) { + Notification::make() + ->body($e->getMessage()) + ->danger() + ->send(); + } }