runelite-client: close xtea response, add debug message
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user