LessCompiler: Remove error message when switching to Icinga theme

fixes #12660
This commit is contained in:
Jennifer Mourek 2016-10-14 08:06:05 +02:00
parent c5c10adf75
commit 2e24833d7c
1 changed files with 3 additions and 1 deletions

View File

@ -122,7 +122,9 @@ class LessCompiler
if (is_file($theme) && is_readable($theme)) {
$this->theme = $theme;
} 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;
}