mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
more tests for PresenceHub
This commit is contained in:
@@ -57,13 +57,13 @@ public class FriendsHub : Hub
|
||||
else if (exception != null)
|
||||
{
|
||||
_logger.LogWarning(exception,
|
||||
"User disconnected with an exception and invalid UserID claim. ConnectionId: {ConnectionId}",
|
||||
"User disconnected with an exception and invalid UserId claim. ConnectionId: {ConnectionId}",
|
||||
Context.ConnectionId);
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.LogInformation(
|
||||
"User disconnected with no exception and invalid UserID claim. ConnectionId: {ConnectionId}",
|
||||
"User disconnected with no exception and invalid UserId claim. ConnectionId: {ConnectionId}",
|
||||
Context.ConnectionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ public class PresenceHub : Hub
|
||||
else
|
||||
{
|
||||
_logger.LogInformation(
|
||||
"User disconnected with no exception and invalid UserID claim. ConnectionId: {ConnectionId}",
|
||||
"User disconnected with no exception and invalid UserId claim. ConnectionId: {ConnectionId}",
|
||||
Context.ConnectionId);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user