summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2017-09-26 16:26:43 +0200
committerGitHub <noreply@github.com>2017-09-26 16:26:43 +0200
commitfc46e98fc624a9873a9af6d440e9633d9c918563 (patch)
treefbdadc4689c20552c5c8d6d5cdf4fb7b4e793c30
parent3bde76302fb32f70321cccd0f01dddf4729a841f (diff)
parentdec713fc923ddca50276cb4075d6323c1f736b88 (diff)
downloadnextcloud-server-fc46e98fc624a9873a9af6d440e9633d9c918563.tar.gz
nextcloud-server-fc46e98fc624a9873a9af6d440e9633d9c918563.zip
Merge pull request #6647 from nextcloud/scss-no-take-only-throw
Do not stop on scss compilation failure
-rw-r--r--lib/private/Template/SCSSCacher.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index 8ecbb9588a3..664e4d69f73 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);