From a3e10ab36f7ca17cb511efe77b758374b2a2a36e Mon Sep 17 00:00:00 2001 From: SerHack <27734319+serhack@users.noreply.github.com> Date: Sun, 30 Jun 2019 10:43:03 +0200 Subject: [PATCH] Add a error message if it is unable to fetch prices --- include/class-monero-gateway.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/class-monero-gateway.php b/include/class-monero-gateway.php index 8322f53..c95e281 100644 --- a/include/class-monero-gateway.php +++ b/include/class-monero-gateway.php @@ -1,7 +1,7 @@ query($query); } } + else{ + self::$log->add('Monero_Payments', "[ERROR] Unable to fetch prices from cryptocompare.com."); + } // Get current network/wallet height if(self::$confirm_type == 'monero-wallet-rpc')