mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:57:22 +01:00
reduce logging for player null
This commit is contained in:
parent
529b8e4c37
commit
e70290975d
2 changed files with 2 additions and 8 deletions
|
|
@ -364,12 +364,6 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
|
|||
|
||||
Logger.LogDebug("[{applicationId}] Application finished", _applicationId);
|
||||
}
|
||||
catch (ArgumentNullException ex)
|
||||
{
|
||||
Logger.LogWarning(ex, "[{applicationId}] Cancelled, player turned null during application", _applicationId);
|
||||
IsVisible = false;
|
||||
_applyLastReceivedDataOnVisible = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (ex is AggregateException aggr && aggr.InnerExceptions.Any(e => e is ArgumentNullException))
|
||||
|
|
@ -377,7 +371,7 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
|
|||
IsVisible = false;
|
||||
_applyLastReceivedDataOnVisible = true;
|
||||
_cachedData = charaData;
|
||||
Logger.LogWarning(aggr, "[{applicationId}] Cancelled, player turned null during application", _applicationId);
|
||||
Logger.LogDebug("[{applicationId}] Cancelled, player turned null during application", _applicationId);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue