Skip to content

Commit

Permalink
Merge pull request runelite#57 from kfricilone/plugins/xtea
Browse files Browse the repository at this point in the history
runelite-client: close xtea response, add debug message
  • Loading branch information
Adam- authored May 10, 2017
2 parents fe7e4ed + 3e4a435 commit 745e293
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ public void onMapRegionChanged(MapRegionChanged event)
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)
{
Expand Down

0 comments on commit 745e293

Please sign in to comment.