diff options
author | fanquake <fanquake@gmail.com> | 2020-04-15 13:06:23 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-04-15 15:35:47 +0800 |
commit | 1b04302e43c91cf2353c545e646e50a672eab300 (patch) | |
tree | 7d9575f2124662391177c483fb4ef8333df8cf2b | |
parent | 5447d57bfff9636ec662f60a60d0a6a72605edfb (diff) |
gui: use PACKAGE_NAME in exception message
-rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 0ec1687dc5..8939b566f7 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -381,7 +381,7 @@ void BitcoinApplication::shutdownResult() void BitcoinApplication::handleRunawayException(const QString &message) { - QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. Bitcoin can no longer continue safely and will quit.") + QString("\n\n") + message); + QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. %1 can no longer continue safely and will quit.").arg(PACKAGE_NAME) + QString("\n\n") + message); ::exit(EXIT_FAILURE); } |