improve error message

This commit is contained in:
HgO 2022-07-11 23:45:15 +02:00
parent 19d42fc1af
commit 6350da94f4

View file

@ -123,7 +123,7 @@ class Command:
await send_text_to_room(
self.client,
self.room.room_id,
f"Sorry, I couldn't find {count_alert_not_found} alerts, and thus I couldn't acknowledge them.",
f"Sorry, I couldn't find {count_alert_not_found} alerts, therefore I couldn't create their silence.",
)
if count_created_silences > 0:
@ -177,7 +177,7 @@ class Command:
await send_text_to_room(
self.client,
self.room.room_id,
f"Sorry, I couldn't find {count_alert_not_found} alerts, and thus I couldn't unacknowledge them.",
f"Sorry, I couldn't find {count_alert_not_found} alerts, therefore I couldn't remove their silences.",
)
if count_removed_silences > 0: