mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 12:39:30 +01:00
add catch for timeout
This commit is contained in:
parent
bb30808993
commit
6ecff164f5
@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user