mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17: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);
|
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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
if (ex is AggregateException aggr && aggr.InnerExceptions.Any(e => e is ArgumentNullException))
|
if (ex is AggregateException aggr && aggr.InnerExceptions.Any(e => e is ArgumentNullException))
|
||||||
|
|
@ -377,7 +371,7 @@ public sealed class PairHandler : DisposableMediatorSubscriberBase
|
||||||
IsVisible = false;
|
IsVisible = false;
|
||||||
_applyLastReceivedDataOnVisible = true;
|
_applyLastReceivedDataOnVisible = true;
|
||||||
_cachedData = charaData;
|
_cachedData = charaData;
|
||||||
Logger.LogWarning(aggr, "[{applicationId}] Cancelled, player turned null during application", _applicationId);
|
Logger.LogDebug("[{applicationId}] Cancelled, player turned null during application", _applicationId);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ public class FileTransferOrchestrator : DisposableMediatorSubscriberBase
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Logger.LogCritical(ex, "Error during SendRequestInternal for {uri}", requestMessage.RequestUri);
|
Logger.LogWarning(ex, "Error during SendRequestInternal for {uri}", requestMessage.RequestUri);
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue