fix error message
This commit is contained in:
parent
7a273f5072
commit
bb14e9dda8
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class Command:
|
||||||
)
|
)
|
||||||
count_removed_silences += len(removed_silences)
|
count_removed_silences += len(removed_silences)
|
||||||
except (AlertNotFoundError, SilenceNotFoundError) as e:
|
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
|
count_alert_not_found += 1
|
||||||
except AlertmanagerError as e:
|
except AlertmanagerError as e:
|
||||||
logger.exception(f"Unable to delete silence: {e}", exc_info=e)
|
logger.exception(f"Unable to delete silence: {e}", exc_info=e)
|
||||||
|
|
Loading…
Reference in a new issue