(no message)

Spegeli [2016-07-23 10:31:46]

Filename
PokemonGo.RocketAPI.Logic/Logic.cs
PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
diff --git a/PokemonGo.RocketAPI.Logic/Logic.cs b/PokemonGo.RocketAPI.Logic/Logic.cs
index a289bc3..05e14dc 100644
--- a/PokemonGo.RocketAPI.Logic/Logic.cs
+++ b/PokemonGo.RocketAPI.Logic/Logic.cs
@@ -72,43 +72,51 @@ namespace PokemonGo.RocketAPI.Logic

                     await PostLoginExecute();
                 }
-                catch (AccessTokenExpiredException)
+                catch (AccessTokenExpiredException ex)
                 {
                     Logger.Error($"Access token expired");
+                    Logger.Error($"{ex}");
                 }
-                catch (TaskCanceledException)
+                catch (TaskCanceledException ex)
                 {
                     Logger.Error("Task Canceled Exception - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
-                catch (UriFormatException)
+                catch (UriFormatException ex)
                 {
                     Logger.Error("UriFormatException - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
-                catch (ArgumentOutOfRangeException)
+                catch (ArgumentOutOfRangeException ex)
                 {
                     Logger.Error("ArgumentOutOfRangeException - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
-                catch (ArgumentNullException)
+                catch (ArgumentNullException ex)
                 {
                     Logger.Error("ArgumentNullException - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
-                catch (NullReferenceException)
+                catch (NullReferenceException ex)
                 {
                     Logger.Error("NullReferenceException - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
-                catch (InvalidResponseException)
+                catch (InvalidResponseException ex)
                 {
                     Logger.Error("InvalidResponseException - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
-                catch (AggregateException)
+                catch (AggregateException ex)
                 {
                     Logger.Error("AggregateException - Restarting");
+                    Logger.Error($"{ex}");
                     await Execute();
                 }
                 await Task.Delay(10000);
@@ -273,7 +281,7 @@ namespace PokemonGo.RocketAPI.Logic
                 _stats.updateConsoleTitle(_inventory);
                 Logger.Normal(ConsoleColor.Yellow,
                     caughtPokemonResponse.Status == CatchPokemonResponse.Types.CatchStatus.CatchSuccess
-                    ? $"(POKEBATTLE) {pokemon.PokemonId} (CP {encounter?.WildPokemon?.PokemonData?.Cp}) ({Math.Round(CalculatePokemonPerfection(encounter?.WildPokemon?.PokemonData)).ToString("0.00")}% perfection) | Chance: {encounter?.CaptureProbability.CaptureProbability_.First()} | {Math.Round(distance)}m distance | with {bestPokeball} and received XP {caughtPokemonResponse.Scores.Xp.Sum()}"
+                    ? $"(POKEBATTLE) {pokemon.PokemonId} (CP {encounter?.WildPokemon?.PokemonData?.Cp}) ({Math.Round(CalculatePokemonPerfection(encounter?.WildPokemon?.PokemonData)).ToString("0.00")}% perfection) | Chance: {Math.Round(Convert.ToDouble(encounter?.CaptureProbability.CaptureProbability_.First()))} | {Math.Round(distance)}m distance | with {bestPokeball} and received XP {caughtPokemonResponse.Scores.Xp.Sum()}"
                     : $"(POKEBATTLE) {pokemon.PokemonId} (CP {encounter?.WildPokemon?.PokemonData?.Cp}) | Chance: {Math.Round(Convert.ToDouble(encounter?.CaptureProbability?.CaptureProbability_.First()))} {caughtPokemonResponse.Status} | {Math.Round(distance)}m distance | using a {bestPokeball}.."
                     );
                 await RandomHelper.RandomDelay(1750, 2250);
diff --git a/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj b/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
index 63a0897..67d2913 100644
--- a/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
+++ b/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
@@ -17,7 +17,7 @@
     <UpdateAssemblyInfoVersion>False</UpdateAssemblyInfoVersion>
     <AssemblyVersionSettings>YearStamp.MonthStamp.DayStamp.Increment</AssemblyVersionSettings>
     <PrimaryVersionType>AssemblyVersionAttribute</PrimaryVersionType>
-    <AssemblyVersion>2016.7.23.86</AssemblyVersion>
+    <AssemblyVersion>2016.7.23.88</AssemblyVersion>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
diff --git a/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs b/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
index e583a5c..521dbcc 100644
--- a/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
+++ b/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers
 // by using the '*' as shown below:
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2016.7.23.87")]
+[assembly: AssemblyVersion("2016.7.23.88")]
 [assembly: AssemblyFileVersion("1.0.0.0")]
You may download the files in Public Git.