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(); + } }