mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet2: do not lose exception in current thread on refresh
This commit is contained in:
parent
62bb95b25f
commit
835896ea24
1 changed files with 1 additions and 0 deletions
|
@ -3566,6 +3566,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
|
|||
catch (const std::exception &e)
|
||||
{
|
||||
MERROR("Error parsing blocks: " << e.what());
|
||||
exception = std::current_exception();
|
||||
error = true;
|
||||
}
|
||||
blocks_fetched += added_blocks;
|
||||
|
|
Loading…
Reference in a new issue