Breaking: #64714 - Catch exceptions for inaccessible storages¶
See forge#64714
Description¶
Changed \TYPO3\
to extend
from \TYPO3\
instead of \Runtime
Impact¶
If a call to \TYPO3\
throws an exception and
your extension catches \Runtime
it breaks on permission read errors.
Migration¶
To write a compatible extension you can do following in your catch block:
} catch(\RuntimeException $e) {
// Do exception handling
} catch(\TYPO3\CMS\Core\Resource\Exception\ResourcePermissionsUnavailableException $e) {
// Do same exception handling
}
Copied!