Skip to content

[SysAdmin] GitReloadAPIView:: Couldn't entertain reload request for the branch (master), expected branch is ... #306

Open
@sentry-io

Description

@sentry-io

We're getting this error a lot, but I don't think it should return a 400. Since github fires a webhook for every commit, we will necessarily receive webhooks that are for a branch other than the configured one.

Instead of a 400, we should return a 200 response with a message about how no action was taken.

Sentry Issue: OPENEDX-RESIDENTIAL-4AC

GitReloadAPIView:: Couldn't entertain reload request for the branch (master), expected branch is (live) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions