log app name fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
1caaa7f4cd
commit
12717bfd72
|
@ -127,7 +127,7 @@ abstract class ResourceLocator {
|
|||
$this->append($root, $scssCache->getCachedSCSS(), $webRoot, false);
|
||||
return true;
|
||||
} else {
|
||||
$this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'SCSSPHP']);
|
||||
$this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'server']);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,13 +128,13 @@ class SCSSCacher {
|
|||
try {
|
||||
$compiledScss = $scss->compile('@import "'.$this->fileNameSCSS.'";');
|
||||
} catch(ParserException $e) {
|
||||
$this->logger->error($e, ['app' => 'SCSSPHP']);
|
||||
$this->logger->error($e, ['app' => 'server']);
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
$cachedfile->putContent($this->rebaseUrls($compiledScss));
|
||||
$this->logger->debug($this->rootCssLoc.'/'.$this->fileNameSCSS.' compiled and successfully cached', ['app' => 'SCSSPHP']);
|
||||
$this->logger->debug($this->rootCssLoc.'/'.$this->fileNameSCSS.' compiled and successfully cached', ['app' => 'server']);
|
||||
return true;
|
||||
} catch(NotFoundException $e) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue