diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-12-16 16:28:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 16:28:47 +0100 |
commit | 4322fc3a0d7918bcadd1ee9d32c2ab23da6bf0ae (patch) | |
tree | 89f6c74720f8a3be37d5892f2a32be1f0257ef8b /lib/private | |
parent | c3c8b5f368928f2bb5f4b7882927c2dc99a8334c (diff) | |
parent | 34ce53355a52e4be0188d16d3b631fd228a4eceb (diff) | |
download | nextcloud-server-4322fc3a0d7918bcadd1ee9d32c2ab23da6bf0ae.tar.gz nextcloud-server-4322fc3a0d7918bcadd1ee9d32c2ab23da6bf0ae.zip |
Merge pull request #35679 from nextcloud/catch-not-found-exception-in-jscombiner
Catch NotFoundException as well in JSCombiner
Diffstat (limited to 'lib/private')
-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; } |