From 34ce53355a52e4be0188d16d3b631fd228a4eceb Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 8 Dec 2022 11:50:50 +0100 Subject: [PATCH] Catch NotFoundException as well in JSCombiner Follow-up to #35576 Signed-off-by: Thomas Citharel --- lib/private/Template/JSCombiner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Template/JSCombiner.php b/lib/private/Template/JSCombiner.php index a6d9f0ee558..c075e65d76a 100644 --- a/lib/private/Template/JSCombiner.php +++ b/lib/private/Template/JSCombiner.php @@ -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; }