def truncate_message(message, limit=100):
    """Display the first characters of a message.

    The message is truncated using ellipsis and stripped to avoid blank spaces
    before the ellipsis.

    Args:
        message (str): Message to truncate.
        limit (int): Maximum size of the message.

    Returns:
        str: Truncated message.
    """
    assert limit - 3 > 0, "Limit too short"

    if len(message) <= limit:
        return message

    return message[: limit - 3].strip() + "..."