Skip to content

Commit c224f2e

Browse files
committed
Lower setup check level from error/warning to warning/info
Signed-off-by: Côme Chilliet <[email protected]>
1 parent c425041 commit c224f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SetupChecks/LogErrors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function run(): SetupResult {
7474
if (array_sum($count) === 0) {
7575
return SetupResult::success($this->l10n->t('No errors in the logs since %s', $this->dateFormatter->formatDate($limit)));
7676
} elseif ($count[self::LEVEL_ERROR] + $count[self::LEVEL_FATAL] > 0) {
77-
return SetupResult::error(
77+
return SetupResult::warning(
7878
$this->l10n->n(
7979
'%n error in the logs since %s',
8080
'%n errors in the logs since %s',
@@ -83,7 +83,7 @@ public function run(): SetupResult {
8383
)
8484
);
8585
} else {
86-
return SetupResult::warning(
86+
return SetupResult::info(
8787
$this->l10n->n(
8888
'%n warning in the logs since %s',
8989
'%n warnings in the logs since %s'.json_encode($count),

0 commit comments

Comments
 (0)