mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
unit_tests: do not rethrow a copy of an exception
Found by codacy.com
This commit is contained in:
parent
5d9915ab9e
commit
0dac3c6428
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class WalletSubaddress : public ::testing::Test
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
{
|
{
|
||||||
LOG_ERROR("failed to generate wallet: " << e.what());
|
LOG_ERROR("failed to generate wallet: " << e.what());
|
||||||
throw e;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
w1.add_subaddress_account(test_label);
|
w1.add_subaddress_account(test_label);
|
||||||
|
|
Loading…
Reference in a new issue