runelite-client: close xtea response, add debug message

This commit is contained in:
Kyle Fricilone
2017-05-09 19:56:10 -05:00
parent fe7e4ed515
commit 3e4a435da4

View File

@@ -88,9 +88,12 @@ public class Xtea extends Plugin
ScheduledExecutorService executor = runeLite.getExecutor();
executor.execute(() ->
{
try
try (Response response = xteaClient.submit(revision, region, keys))
{
xteaClient.submit(revision, region, keys);
if (!response.isSuccessful())
{
logger.debug("unsuccessful xtea response");
}
}
catch (IOException ex)
{