protected override void CatchActorTaskExecutionException(ActorTaskExecutionException exception) { AppendException(exception, _scoreFilePreffix); var monsterActorTaskSource = ServiceScope.ServiceProvider.GetRequiredService <MonsterBotActorTaskSource>(); if (exception.ActorTaskSource != monsterActorTaskSource) { _botExceptionCount++; if (_botExceptionCount >= BOT_EXCEPTION_LIMIT) { AppendFail(ServiceScope.ServiceProvider, _scoreFilePreffix); throw exception; } } else { _envExceptionCount++; CheckEnvExceptions(_envExceptionCount, exception); Log($"[.] {exception.Message}"); } }
protected abstract void CatchActorTaskExecutionException(ActorTaskExecutionException exception);
protected override void CatchActorTaskExecutionException(ActorTaskExecutionException exception) { Console.WriteLine(exception); throw exception; }
protected override void CatchActorTaskExecutionException(ActorTaskExecutionException exception) { TestContext.Out.WriteLine(exception); throw exception; }