summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 18:32:20 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 18:32:20 +0200
commit0b9a878250d79101756d881d15d22acda2dbeddc (patch)
tree11a489d9560d9b81c83a22ad8433dbf7e7ac7e4f /core/ajax
parent9a2902553495baa6fb1515176a8bbaab5633fb58 (diff)
downloadnextcloud-server-0b9a878250d79101756d881d15d22acda2dbeddc.tar.gz
nextcloud-server-0b9a878250d79101756d881d15d22acda2dbeddc.zip
Flag repair errors as error level in eventSource->send
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php2
1 files changed, 1 insertions, 1 deletions
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());
}
}
}