Merge pull request #6661 from nextcloud/no-take-only-throw

Do not stop on scss compilation failure
This commit is contained in:
John Molakvoæ 2017-09-27 10:43:31 +02:00 committed by GitHub
commit 898fb1663a
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);