diff options
| author | Greg Roach <fisharebest@gmail.com> | 2021-03-15 14:05:33 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2021-03-15 15:09:52 +0000 |
| commit | f0448b68d9ccb96d481d0f989b8bf9901c324b04 (patch) | |
| tree | fb39d85245dd7396ade50ce07e20763f83316c1d /app/Http/RequestHandlers/ExportGedcomClient.php | |
| parent | a2221dfbfbf1dfbb322e14294e5387499e722805 (diff) | |
| download | webtrees-f0448b68d9ccb96d481d0f989b8bf9901c324b04.tar.gz webtrees-f0448b68d9ccb96d481d0f989b8bf9901c324b04.tar.bz2 webtrees-f0448b68d9ccb96d481d0f989b8bf9901c324b04.zip | |
Filesystem error handling
Diffstat (limited to 'app/Http/RequestHandlers/ExportGedcomClient.php')
| -rw-r--r-- | app/Http/RequestHandlers/ExportGedcomClient.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Http/RequestHandlers/ExportGedcomClient.php b/app/Http/RequestHandlers/ExportGedcomClient.php index 595fcc9fa4..bdeae8562f 100644 --- a/app/Http/RequestHandlers/ExportGedcomClient.php +++ b/app/Http/RequestHandlers/ExportGedcomClient.php @@ -27,6 +27,7 @@ use Fisharebest\Webtrees\Services\GedcomExportService; use Fisharebest\Webtrees\Tree; use Illuminate\Database\Capsule\Manager as DB; use League\Flysystem\Filesystem; +use League\Flysystem\FilesystemException; use League\Flysystem\ZipArchive\FilesystemZipArchiveProvider; use League\Flysystem\ZipArchive\ZipArchiveAdapter; use Psr\Http\Message\ResponseFactoryInterface; @@ -72,6 +73,7 @@ class ExportGedcomClient implements RequestHandlerInterface * @param ServerRequestInterface $request * * @return ResponseInterface + * @throws FilesystemException */ public function handle(ServerRequestInterface $request): ResponseInterface { |
