From dcf9b9df26fbca5a19bedfe2235526c2d98af5b5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 2 Jan 2020 11:34:26 +0100 Subject: [PATCH] bug 2626: fehlende neue messages nachtragen --- res/core/messages.xml | 56 +++++++++++++++++++++++++++++++++++++++++++ src/kernel/messages.c | 1 + 2 files changed, 57 insertions(+) diff --git a/res/core/messages.xml b/res/core/messages.xml index d40efb9ac..696cb9a2d 100644 --- a/res/core/messages.xml +++ b/res/core/messages.xml @@ -2690,6 +2690,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/kernel/messages.c b/src/kernel/messages.c index 656e08b3a..98411973d 100644 --- a/src/kernel/messages.c +++ b/src/kernel/messages.c @@ -62,6 +62,7 @@ static message *missing_feedback(const char *name, const struct unit *u, log_error("trying to create undefined feedback of type \"%s\"\n", name); } else if (missing_message_mode == MESSAGE_MISSING_REPLACE) { + log_warning("trying to create undefined message of type \"%s\"\n", name); if (strcmp(name, "missing_feedback") != 0) { if (!mt_find("missing_feedback")) { mt_create_va(mt_new("missing_feedback", NULL), "unit:unit",