|
|
|
@ -155,7 +155,7 @@ BitcoinCore::BitcoinCore(interfaces::Node& node) :
|
|
|
|
|
void BitcoinCore::handleRunawayException(const std::exception *e)
|
|
|
|
|
{
|
|
|
|
|
PrintExceptionContinue(e, "Runaway exception");
|
|
|
|
|
Q_EMIT runawayException(QString::fromStdString(m_node.getWarnings()));
|
|
|
|
|
Q_EMIT runawayException(QString::fromStdString(m_node.getWarnings().translated));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void BitcoinCore::initialize()
|
|
|
|
@ -599,10 +599,10 @@ int GuiMain(int argc, char* argv[])
|
|
|
|
|
}
|
|
|
|
|
} catch (const std::exception& e) {
|
|
|
|
|
PrintExceptionContinue(&e, "Runaway exception");
|
|
|
|
|
app.handleRunawayException(QString::fromStdString(node->getWarnings()));
|
|
|
|
|
app.handleRunawayException(QString::fromStdString(node->getWarnings().translated));
|
|
|
|
|
} catch (...) {
|
|
|
|
|
PrintExceptionContinue(nullptr, "Runaway exception");
|
|
|
|
|
app.handleRunawayException(QString::fromStdString(node->getWarnings()));
|
|
|
|
|
app.handleRunawayException(QString::fromStdString(node->getWarnings().translated));
|
|
|
|
|
}
|
|
|
|
|
return rv;
|
|
|
|
|
}
|
|
|
|
|