diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d2ae711..ff1638a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -284,7 +284,7 @@ void MainWindow::setupSettingsModal() { try { currency_name = Settings::getInstance()->get_currency_name(); } catch (const std::exception& e) { - qDebug() << QString("Currency name exception! : ") << e.what(); + qDebug() << QString("Currency name exception! : "); currency_name = "USD"; } @@ -1553,7 +1553,7 @@ void MainWindow::slot_change_currency(const std::string& currency_name) try { saved_currency_name = Settings::getInstance()->get_currency_name(); } catch (const std::exception& e) { - qDebug() << QString("Ignoring currency change Exception! : ") << e.what(); + qDebug() << QString("Ignoring currency change Exception! : "); saved_currency_name = "USD"; } } @@ -1567,7 +1567,7 @@ void MainWindow::slot_change_theme(const QString& theme_name) try { saved_theme_name = Settings::getInstance()->get_theme_name(); } catch (const std::exception& e) { - qDebug() << QString("Ignoring theme change Exception! : ") << e.what(); + qDebug() << QString("Ignoring theme change Exception! : "); saved_theme_name = "default"; } diff --git a/src/rpc.cpp b/src/rpc.cpp index a47f592..291fedc 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1193,7 +1193,7 @@ void RPC::refreshPrice() { } } catch (const std::exception& e) { // If anything at all goes wrong, just set the price to 0 and move on. - qDebug() << QString("Price feed update failure : ") << e.what(); + qDebug() << QString("Price feed update failure : "); } // If nothing, then set the price to 0;