aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-04-24 23:16:00 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-04-24 23:22:14 +0200
commit7c288c6203c52eeecc63d6847582cc6d8dd77b74 (patch)
treec1c2cfdd57e37e8fc31cd76cfc7421964ce484cc
parent940c1e9381e289a4224987bddeeae52a3d23d770 (diff)
early-errors: also include critical messages
-rw-r--r--early-errors2
1 files changed, 1 insertions, 1 deletions
diff --git a/early-errors b/early-errors
index eaee745..2660bd1 100644
--- a/early-errors
+++ b/early-errors
@@ -9,7 +9,7 @@
:global SendNotification;
-:local Errors [ / log find where topics~"error" ];
+:local Errors [ / log find where topics~"error" or topics~"critical" ];
:local ErrCount [ :len $Errors ];
:if ($ErrCount > 0) do={
:local Message ("The log on " . $Identity . " contains " . $ErrCount . \