Match, Ranking and TeamApplicationControllers don't throw any more, when a tournament id from TenantContext does not exist in the database. Instead, a critical error is logged.
GetCurrentUserId() from AbstractController returns null, if the ClaimTypes.NameIdentifier is missing unexpectedly. The caller will throw an InvalidOperationException when null is not allowed
Match
,Ranking
andTeamApplication
Controller
s don't throw any more, when a tournament id fromTenantContext
does not exist in the database. Instead, a critical error is logged.GetCurrentUserId()
fromAbstractController
returnsnull
, if theClaimTypes.NameIdentifier
is missing unexpectedly. The caller will throw anInvalidOperationException
whennull
is not allowed