reduce logging for player null
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user