0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 15:14:13 +01: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
auth_openid.go
auth.go
avatar.go
home_test.go
home.go
main_test.go
notification.go Protect against NPEs in notifications list (#10879) 2020-03-29 20:51:14 +01:00
oauth.go
profile.go