From af0b9c31ca144db66fb8e5095c9cd9fb5aa06763 Mon Sep 17 00:00:00 2001 From: HgO Date: Sun, 10 Jul 2022 03:07:31 +0200 Subject: [PATCH] fix error message --- matrix_alertbot/alertmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_alertbot/alertmanager.py b/matrix_alertbot/alertmanager.py index 00d3f28..778ad6d 100644 --- a/matrix_alertbot/alertmanager.py +++ b/matrix_alertbot/alertmanager.py @@ -126,5 +126,5 @@ class AlertmanagerClient: if not matcher.match(labels): raise AlertMismatchError( - f"Alert with label {labels[matcher.label]} does not match {matcher}" + f"Alert with label {matcher.label}={labels[matcher.label]} does not match {matcher}" )