Update keystore and fix gunbot location check
This commit is contained in:
parent
822eaf18ac
commit
ceca1a658d
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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.
Loading…
Reference in New Issue