summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-26 15:29:37 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-26 15:29:37 +0200
commitdec713fc923ddca50276cb4075d6323c1f736b88 (patch)
treebbc29b8c494788e5633c01c1639e265c8cb61cce /lib
parent9080976975c97ef7d377bb068bdf3e7e9e7746bf (diff)
downloadnextcloud-server-dec713fc923ddca50276cb4075d6323c1f736b88.tar.gz
nextcloud-server-dec713fc923ddca50276cb4075d6323c1f736b88.zip
Do not stop on scss compilation failure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-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);