ftl-local-slack-notification-pattern

Status: IN

FTL2 applications use `ftl.local.community.general.slack()` for sending Slack notifications from the control machine, wrapped in try/except to prevent notification failures from aborting infrastructure operations.

Source: repo:ftl2-servercraft/ftl2_servercraft/scripts/neoforge.py

Example

try:
    await ftl.local.community.general.slack(
        channel=config.slack_channel,
        msg=f"{config.name}: Server ready at {config.get_ip()}",
    )
except Exception:
    pass  # notification failure must not abort infra ops

JSON