diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-12-08 11:50:50 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2022-12-08 11:50:50 +0100 |
commit | 34ce53355a52e4be0188d16d3b631fd228a4eceb (patch) | |
tree | 5d10aa75312077792424bc2f814abe31272f2f3f /lib/private/Template/JSCombiner.php | |
parent | 04b2803e024d5cb04bb122becad66026aaa4572a (diff) | |
download | nextcloud-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.php | 2 |
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; } |