mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
wallet2: do not lose exception in current thread on refresh
This commit is contained in:
parent
62bb95b25f
commit
835896ea24
@ -3566,6 +3566,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
|
|||||||
catch (const std::exception &e)
|
catch (const std::exception &e)
|
||||||
{
|
{
|
||||||
MERROR("Error parsing blocks: " << e.what());
|
MERROR("Error parsing blocks: " << e.what());
|
||||||
|
exception = std::current_exception();
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
blocks_fetched += added_blocks;
|
blocks_fetched += added_blocks;
|
||||||
|
Loading…
Reference in New Issue
Block a user