[BUGFIX] Do not show exeption when folder is not accesible
[Packages/TYPO3.CMS.git] / typo3 / sysext / filelist / Classes / Controller / FileListController.php
index 3f6f631..ce2bbc4 100644 (file)
@@ -170,7 +170,7 @@ class FileListController {
                                        throw new \RuntimeException('Could not find any folder to be displayed.', 1349276894);
                                }
                        }
-               } catch (\TYPO3\CMS\Core\Resource\Exception\FolderDoesNotExistException $fileException) {
+               } catch (\TYPO3\CMS\Core\Resource\Exception $fileException) {
                        // Take the first object of the first storage
                        $fileStorages = $GLOBALS['BE_USER']->getFileStorages();
                        $fileStorage = reset($fileStorages);