Catch NotFoundException as well in JSCombiner

Follow-up to #35576

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-12-08 11:50:50 +01:00
parent 04b2803e02
commit 34ce53355a
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -198,7 +198,7 @@ class JSCombiner {
$gzipFile->putContent(gzencode($res, 9));
$this->logger->debug('JSCombiner: successfully cached: ' . $fileName);
return true;
} catch (NotPermittedException $e) {
} catch (NotPermittedException|NotFoundException $e) {
$this->logger->error('JSCombiner: unable to cache: ' . $fileName);
return false;
}