Do not stop on scss compilation failure

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-09-27 08:35:02 +02:00
parent af923601b9
commit 892a427807
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 2 additions and 0 deletions

View 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);