Skip to content

Commit 3cbbc8b

Browse files
committed
strip alert_context
1 parent d2cc0d8 commit 3cbbc8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meshtastic_listener/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def __check_node_health__(self) -> None:
399399
alert_context += f'High Memory Usage: {health_check_stats.systemResources.memoryUsagePercent}%\n'
400400

401401
if alert_context != '':
402-
self.__notify_admins__(f'Node: {self.interface.getLongName()}\n{alert_context}', priority=True)
402+
self.__notify_admins__(f'Node: {self.interface.getLongName()}\n{alert_context.strip()}', priority=True)
403403

404404
self.previous_health_check = health_check_stats
405405

0 commit comments

Comments
 (0)