Update Client.cs
diff --git a/PokemonGo/RocketAPI/Client.cs b/PokemonGo/RocketAPI/Client.cs
index 8e6948e..d35e1a5 100644
--- a/PokemonGo/RocketAPI/Client.cs
+++ b/PokemonGo/RocketAPI/Client.cs
@@ -116,8 +116,8 @@ namespace PokemonGo.RocketAPI
_accessToken = await PtcLogin.GetAccessToken(username, password);
_authType = AuthType.Ptc;
}
- catch (Newtonsoft.Json.JsonReaderException) { ColoredConsoleWrite(ConsoleColor.White, "Json Reader Exception - Server down? - Restarting"); DoPtcLogin(username, password); }
- catch (Exception ex) { ColoredConsoleWrite(ConsoleColor.White, ex.ToString() + "Exception - Please report - Restarting"); DoPtcLogin(username, password); }
+ catch (Newtonsoft.Json.JsonReaderException) { ColoredConsoleWrite(ConsoleColor.Red, "Json Reader Exception - Server down? - Restarting"); DoPtcLogin(username, password); }
+ catch (Exception ex) { ColoredConsoleWrite(ConsoleColor.Red, ex.ToString() + " Exception - Please report - Restarting"); DoPtcLogin(username, password); }
}
public async Task<EncounterResponse> EncounterPokemon(ulong encounterId, string spawnPointGuid)
You may download the files in Public Git.