diff --git a/pom.xml b/pom.xml index 03726dd..51a755b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ nl.komtek GunbotProxyCommunity - 0.9.6 + 0.9.7 jar GunbotProxyCommunity diff --git a/src/main/java/nl/komtek/gpi/controllers/CheckSetupController.java b/src/main/java/nl/komtek/gpi/controllers/CheckSetupController.java index 50d3beb..20ef12f 100644 --- a/src/main/java/nl/komtek/gpi/controllers/CheckSetupController.java +++ b/src/main/java/nl/komtek/gpi/controllers/CheckSetupController.java @@ -93,7 +93,7 @@ public class CheckSetupController { if (!gunbotLocation.startsWith("file://")) { setupData.put("Gunbot location", "Your file location should start with 'file://'"); } else { - File file = new File(gunbotLocation); + File file = new File(gunbotLocation.replace("file://","")); if (file.exists()) { setupData.put("Gunbot location", "Looking good!"); } else { diff --git a/src/main/java/nl/komtek/gpi/services/GunbotProxyService.java b/src/main/java/nl/komtek/gpi/services/GunbotProxyService.java index 8231d10..9b88531 100644 --- a/src/main/java/nl/komtek/gpi/services/GunbotProxyService.java +++ b/src/main/java/nl/komtek/gpi/services/GunbotProxyService.java @@ -10,7 +10,6 @@ import net.jodah.failsafe.Failsafe; import net.jodah.failsafe.RetryPolicy; import nl.komtek.gpi.utils.ProxyHandledException; import nl.komtek.gpi.utils.Util; -import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; @@ -177,11 +176,8 @@ public class GunbotProxyService { .onFailedAttempt(this::handleException) .get(() -> analyzeResult(publicClient.returnTicker())); - if (logger.getLevel().isMoreSpecificThan(Level.INFO)) { - logger.info("ticker updated"); - } else { - logger.info("ticker: " + result); - } + logger.debug("ticker: " + result); + return result; } diff --git a/src/main/resources/poloniex.keystore b/src/main/resources/poloniex.keystore index ee0d0a0..a906f96 100644 Binary files a/src/main/resources/poloniex.keystore and b/src/main/resources/poloniex.keystore differ