Fix notifications breaking due to deleted role being assigned
- Dec 13, 2024
-
-
JeDaYoshi authoredUnverified535e0c69
-
Notifications currently break if you assign a role to a user (which notifies them), and then said role is deleted.
This case scenario is supposed to be handled already.
However, this fix is not working, as this.roleEntityService.pack(notification.roleId)
is throwing EntityNotFoundError
, which is not handled.
Fixes #630 (closed)