add more logging
This commit is contained in:
@@ -159,12 +159,25 @@ void ConnectionLoader::createOrRestore(bool dangerous, QString server)
|
|||||||
void ConnectionLoader::doRPCSetConnection(Connection* conn)
|
void ConnectionLoader::doRPCSetConnection(Connection* conn)
|
||||||
{
|
{
|
||||||
qDebug() << "Connectionloader finished, setting connection";
|
qDebug() << "Connectionloader finished, setting connection";
|
||||||
|
main->logger->write("Connectionloader finished, setting connection");
|
||||||
rpc->setConnection(conn);
|
rpc->setConnection(conn);
|
||||||
d->accept();
|
d->accept();
|
||||||
QTimer::singleShot(1, [=]() { delete this; });
|
QTimer::singleShot(1, [=]() { delete this; });
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
QFile plaintextWallet(dirwalletconnection);
|
QFile plaintextWallet(dirwalletconnection);
|
||||||
|
main->logger->write("Path to Wallet.dat : " );
|
||||||
plaintextWallet.remove();
|
plaintextWallet.remove();
|
||||||
|
|
||||||
|
}catch (...)
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
main->logger->write("no Plaintext wallet.dat");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Connection* ConnectionLoader::makeConnection(std::shared_ptr<ConnectionConfig> config)
|
Connection* ConnectionLoader::makeConnection(std::shared_ptr<ConnectionConfig> config)
|
||||||
|
|||||||
Reference in New Issue
Block a user