diff options
| author | selsta <selsta@sent.at> | 2019-07-23 01:00:40 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-07-23 01:00:40 +0200 |
| commit | ff23a5bf1e2f48e331f48a974400abc61d6e9c24 (patch) | |
| tree | eb0b6db23d79e9fa9558fd42778ce459e9f61f22 /src/qt | |
| parent | a65222d05709941d83e06871f62d2e314f82034b (diff) | |
| download | monzero-gui-ff23a5bf1e2f48e331f48a974400abc61d6e9c24.tar.gz monzero-gui-ff23a5bf1e2f48e331f48a974400abc61d6e9c24.tar.xz monzero-gui-ff23a5bf1e2f48e331f48a974400abc61d6e9c24.zip | |
prices: improve error message
Diffstat (limited to 'src/qt')
| -rw-r--r-- | src/qt/prices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/prices.cpp b/src/qt/prices.cpp index b85899cf..2f212f4b 100644 --- a/src/qt/prices.cpp +++ b/src/qt/prices.cpp @@ -53,7 +53,7 @@ void Prices::getJSON(const QString url) { void Prices::gotJSON() { // Check connectivity if (!m_reply || m_reply->error() != QNetworkReply::NoError){ - this->gotError(); + this->gotError("Problem with reply from server. Check connectivity."); m_reply->deleteLater(); return; } @@ -105,6 +105,6 @@ void Prices::gotError() { } void Prices::gotError(const QString &message) { - qCritical() << __FUNCTION__ << ": Error: " << message; + qCritical() << "[Fiat API] Error:" << message; emit priceJsonError(message); } |
