improve error message
This commit is contained in:
parent
19d42fc1af
commit
6350da94f4
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ class Command:
|
||||||
await send_text_to_room(
|
await send_text_to_room(
|
||||||
self.client,
|
self.client,
|
||||||
self.room.room_id,
|
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:
|
if count_created_silences > 0:
|
||||||
|
@ -177,7 +177,7 @@ class Command:
|
||||||
await send_text_to_room(
|
await send_text_to_room(
|
||||||
self.client,
|
self.client,
|
||||||
self.room.room_id,
|
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:
|
if count_removed_silences > 0:
|
||||||
|
|
Loading…
Reference in a new issue