[FOLLOWUP][BUGFIX] Catch exceptions for inaccessible storages
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / ResourceStorage.php
index 5d12cc2..8a156d1 100644 (file)
@@ -2684,7 +2684,7 @@ class ResourceStorage implements ResourceStorageInterface {
                                $this->processingFolder = GeneralUtility::makeInstance(
                                        InaccessibleFolder::class, $this, $processingFolder, $processingFolder
                                );
-                       } catch(Exception\ResourcePermissionsException $e) {
+                       } catch(Exception\ResourcePermissionsUnavailableException $e) {
                                $this->processingFolder = GeneralUtility::makeInstance(
                                        InaccessibleFolder::class, $this, $processingFolder, $processingFolder
                                );