Skip to content

Tweet ID from suspended account kills eleventy build process #12

Open
@scottpdawson

Description

@scottpdawson

If you embed a tweet from a suspended account, like this one, the build process fails when processTweet tries to access variables that are not in the response. In this use case, I had embedded the tweet when the account was not suspended and discovered the bug after the build started failing last week. The error from Twitter is misleading, too, "User has been suspended." making me think it was my user account that was suspended. Removing the tweet from my pages fixed the build issue, but it'd be good to update the code so it doesn't fail the build if existing tweets have an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions