Catch NotFoundException as well in JSCombiner

Follow-up to #35576

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
pull/35679/head
Thomas Citharel 2 years ago
parent 04b2803e02
commit 34ce53355a
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

@ -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;
}

Loading…
Cancel
Save