[19.09.20] Uncommented to allow saving to database

This commit is contained in:
Andy Sotheran 2020-09-19 20:34:28 +01:00
parent 753ca449c4
commit cd82fec43a

View File

@ -94,7 +94,7 @@ public class PriceService {
priceModel.setVolume(cryptoPriceModel.getVolume()); priceModel.setVolume(cryptoPriceModel.getVolume());
logger.info("Saving {} record to the database for [{}] with syncId of [{}]", cryptoPriceModel.getType(), correlationId, syncId); logger.info("Saving {} record to the database for [{}] with syncId of [{}]", cryptoPriceModel.getType(), correlationId, syncId);
// this.btcPriceRepository.save(priceModel); this.btcPriceRepository.save(priceModel);
return; return;
default: default:
logger.error("Message for [{}] has failed with [{}] due to the currency [{}] {}", syncId, MessageCodes.E01.getCode(), cryptoPriceModel.getType(), MessageCodes.E01.getMessage()); logger.error("Message for [{}] has failed with [{}] due to the currency [{}] {}", syncId, MessageCodes.E01.getCode(), cryptoPriceModel.getType(), MessageCodes.E01.getMessage());