]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not stop on scss compilation failure 6661/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Wed, 27 Sep 2017 06:35:02 +0000 (08:35 +0200)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Wed, 27 Sep 2017 06:35:02 +0000 (08:35 +0200)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
lib/private/Template/SCSSCacher.php

index fe5a095c7739bb64c95c2e13525f758be188daed..c4ec5f95dc743a3637bb0078377afeae60a232fa 100644 (file)
@@ -183,6 +183,8 @@ class SCSSCacher {
                        $path,
                        \OC::$SERVERROOT . '/core/css/',
                ]);
+               // Continue after throw
+               $scss->setIgnoreErrors(true);
                if($this->config->getSystemValue('debug')) {
                        // Debug mode
                        $scss->setFormatter(Expanded::class);