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