1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 11:14:28 +00:00
guillep2k 7284327a00
Prevent panic on merge to PR (#10403) (#10408)
If you attempt to merge to a branch which on a PR there will be a nil pointer error in the pull request checker.

This panic is uncaught and will bring down the gitea server.

This PR adds protection to prevent this.

Co-authored-by: zeripath <art27@cantab.net>
2020-02-21 22:53:32 +00:00
..
2020-01-07 14:30:03 +00:00