Added more bitfinex logging

This commit is contained in:
b00lean 2015-01-22 10:17:30 +01:00
parent 89d7674b75
commit e345aef297
1 changed files with 2 additions and 0 deletions

View File

@ -167,8 +167,10 @@ public class BitfinexExchange implements IExchangeAdvanced, IRateSource {
try {
String result = accountService.withdrawFunds(cryptoCurrency, amount, destinationAddress);
if (result == null) {
log.warn("Bitfinex exchange (withdrawFunds) failed with null");
return null;
}else if ("success".equalsIgnoreCase(result)){
log.warn("Bitfinex exchange (withdrawFunds) finished successfully");
return "success";
}else{
log.warn("Bitfinex exchange (withdrawFunds) failed with message no message");