fix error message

This commit is contained in:
HgO 2022-07-11 23:41:30 +02:00
parent 7a273f5072
commit bb14e9dda8

View file

@ -167,7 +167,7 @@ class Command:
)
count_removed_silences += len(removed_silences)
except (AlertNotFoundError, SilenceNotFoundError) as e:
logger.error(f"Unable to create silence: {e}")
logger.error(f"Unable to delete silence: {e}")
count_alert_not_found += 1
except AlertmanagerError as e:
logger.exception(f"Unable to delete silence: {e}", exc_info=e)