forked from NYANDEV/forgejo
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> |
||
---|---|---|
.. | ||
admin | ||
api/v1 | ||
dev | ||
org | ||
private | ||
repo | ||
routes | ||
user | ||
utils | ||
home.go | ||
init.go | ||
install.go | ||
metrics.go | ||
swagger_json.go |