mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 14:39:32 +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) {
|
} catch (FileExistsException) {
|
||||||
// Ignore if the folder already exists.
|
// 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