From 7c288c6203c52eeecc63d6847582cc6d8dd77b74 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 24 Apr 2020 23:16:00 +0200 Subject: early-errors: also include critical messages --- early-errors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'early-errors') 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 . \ -- cgit v1.2.3-70-g09d2