1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-04 01:14:23 +02:00
gitea/routers/user
zeripath d01763ee14
Protect against NPEs in notifications list (#10879)
Unfortunately there appears to be potential race with notifications
being set before the associated issue has been committed.

This PR adds protection in to the notifications list to log any failures
and remove these notifications from the display.

References #10815 - and prevents the panic but does not completely fix
this.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-03-29 20:51:14 +01:00
..
setting Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863) 2020-03-28 19:24:55 +02:00
auth_openid.go
auth.go
avatar.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
home_test.go
home.go Add Approval Counts to pulls list (#10238) 2020-03-06 03:44:06 +00:00
main_test.go
notification.go Protect against NPEs in notifications list (#10879) 2020-03-29 20:51:14 +01:00
oauth.go
profile.go