From 0b9a878250d79101756d881d15d22acda2dbeddc Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 25 Aug 2022 18:32:20 +0200 Subject: Flag repair errors as error level in eventSource->send MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- core/ajax/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ajax') diff --git a/core/ajax/update.php b/core/ajax/update.php index 0fe398df7bf..56dffef409c 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -92,7 +92,7 @@ class FeedBackHandler { } elseif ($event instanceof RepairWarningEvent) { $this->eventSource->send('notice', $this->l10n->t('Repair warning:') . ' ' . $event->getMessage()); } elseif ($event instanceof RepairErrorEvent) { - $this->eventSource->send('notice', $this->l10n->t('Repair error:') . ' ' . $event->getMessage()); + $this->eventSource->send('error', $this->l10n->t('Repair error:') . ' ' . $event->getMessage()); } } } -- cgit v1.2.3