diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-12-03 11:55:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 11:55:42 +0100 |
commit | b067ae78c5a8044e8066fe742d61c712387e7aa5 (patch) | |
tree | 4ce0140c5160f03c9ddc09bf8befe69b1c872fde /lib | |
parent | 510031067abf8c9f62a518f7f7ad8eb644de1721 (diff) | |
parent | dfb569f097119ac8b5722607a86cc77e97bff3af (diff) | |
download | nextcloud-server-b067ae78c5a8044e8066fe742d61c712387e7aa5.tar.gz nextcloud-server-b067ae78c5a8044e8066fe742d61c712387e7aa5.zip |
Merge pull request #30034 from nextcloud/fix/bump-scssphp/scssphp-to-1.8.1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Template/SCSSCacher.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index 0543427f997..536557e7a3d 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -45,7 +45,6 @@ use OCP\ILogger; use OCP\IMemcache; use OCP\IURLGenerator; use ScssPhp\ScssPhp\Compiler; -use ScssPhp\ScssPhp\Exception\ParserException; use ScssPhp\ScssPhp\OutputStyle; class SCSSCacher { @@ -340,7 +339,7 @@ class SCSSCacher { '@import "variables.scss";' . '@import "functions.scss";' . '@import "' . $fileNameSCSS . '";'); - } catch (ParserException $e) { + } catch (\Exception $e) { $this->logger->logException($e, ['app' => 'scss_cacher']); return false; @@ -431,7 +430,7 @@ class SCSSCacher { $scss = new Compiler(); $scss->compile($variables); $this->injectedVariables = $variables; - } catch (ParserException $e) { + } catch (\Exception $e) { $this->logger->logException($e, ['app' => 'scss_cacher']); } |