From: John Molakvoæ (skjnldsv) Date: Wed, 27 Sep 2017 06:35:02 +0000 (+0200) Subject: Do not stop on scss compilation failure X-Git-Tag: v12.0.4RC1~98^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F6661%2Fhead;p=nextcloud-server.git Do not stop on scss compilation failure Signed-off-by: John Molakvoæ (skjnldsv) --- diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index fe5a095c773..c4ec5f95dc7 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -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);