LessCompiler: Remove error message when switching to Icinga theme
fixes #12660
This commit is contained in:
parent
c5c10adf75
commit
2e24833d7c
|
@ -122,7 +122,9 @@ class LessCompiler
|
||||||
if (is_file($theme) && is_readable($theme)) {
|
if (is_file($theme) && is_readable($theme)) {
|
||||||
$this->theme = $theme;
|
$this->theme = $theme;
|
||||||
} else {
|
} else {
|
||||||
Logger::error('Can\t load theme %s. Make sure that the theme exists and is readable', $theme);
|
if ($theme !== '/vagrant/public/css/themes/Icinga.less') {
|
||||||
|
Logger::error('Can\t load theme %s. Make sure that the theme exists and is readable', $theme);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue