Skip to content
Snippets Groups Projects
Unverified Commit 35dfd75e authored by jNullj's avatar jNullj Committed by GitHub
Browse files

Fix: [GithubCommitActivity] invalid branch error handling (#9258)


* Fix error handling of bad branch in [GithubCommitActivity]

When GraphQL response with a bad repo it returns an error indicating the bad repo.
When GraphQL has the currect repo with a bad branch it will null inside the repo object without an error object.
The privouse commits seems to try and use that but due not allowing null in schema it did not work and an error due to bad schema would show insted.

This commit fixes this issue

* Add test for invalid branch in [GithubCommitActivity]

---------

Co-authored-by: default avatarjNullj <jNullj@users.noreply.github.com>
parent 14892e39
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment