mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 13:47:52 +01:00
596eebb2b6
* 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> * add log import * Update models/notification.go Co-Authored-By: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv> |
||
---|---|---|
.. | ||
setting | ||
auth_openid.go | ||
auth.go | ||
avatar.go | ||
home_test.go | ||
home.go | ||
main_test.go | ||
notification.go | ||
oauth.go | ||
profile.go |