Subaddress: log account subaddresses refresh error

This commit is contained in:
xiphon 2021-01-14 08:07:03 +00:00
parent 3ca5f10fa8
commit 93b22311e3

View file

@ -78,7 +78,14 @@ void Subaddress::setLabel(quint32 accountIndex, quint32 addressIndex, const QStr
void Subaddress::refresh(quint32 accountIndex) const
{
m_subaddressImpl->refresh(accountIndex);
try
{
m_subaddressImpl->refresh(accountIndex);
}
catch (const std::exception &e)
{
qCritical() << "Failed to refresh account" << accountIndex << "subaddresses:" << e.what();
}
getAll();
}