Catch NRE when user can be found but a dm channel cannot be created

Regardless of DM permission
This commit is contained in:
Toastie 2025-02-04 21:51:52 +13:00
parent f70a3ab044
commit 679796a910
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -202,6 +202,7 @@ public class CloseCommand
}
catch (NotFoundException) { /* ignore */ }
catch (UnauthorizedException) { /* ignore */ }
catch (NullReferenceException) { /* ignore */ }
}
Database.ArchiveTicket(ticket);