aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/JSCombiner.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2022-12-08 11:50:50 +0100
committerThomas Citharel <tcit@tcit.fr>2022-12-08 11:50:50 +0100
commit34ce53355a52e4be0188d16d3b631fd228a4eceb (patch)
tree5d10aa75312077792424bc2f814abe31272f2f3f /lib/private/Template/JSCombiner.php
parent04b2803e024d5cb04bb122becad66026aaa4572a (diff)
downloadnextcloud-server-34ce53355a52e4be0188d16d3b631fd228a4eceb.tar.gz
nextcloud-server-34ce53355a52e4be0188d16d3b631fd228a4eceb.zip
Catch NotFoundException as well in JSCombiner
Follow-up to #35576 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'lib/private/Template/JSCombiner.php')
-rw-r--r--lib/private/Template/JSCombiner.php2
1 files changed, 1 insertions, 1 deletions
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;
}