mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
Merge pull request #35679 from nextcloud/catch-not-found-exception-in-jscombiner
Catch NotFoundException as well in JSCombiner
This commit is contained in:
commit
4322fc3a0d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue