Update keystore and fix gunbot location check

This commit is contained in:
elroy 2017-07-10 22:55:16 +02:00
parent 822eaf18ac
commit ceca1a658d
4 changed files with 4 additions and 8 deletions

View File

@ -5,7 +5,7 @@
<groupId>nl.komtek</groupId>
<artifactId>GunbotProxyCommunity</artifactId>
<version>0.9.6</version>
<version>0.9.7</version>
<packaging>jar</packaging>
<name>GunbotProxyCommunity</name>

View File

@ -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 {

View File

@ -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;
}

Binary file not shown.