mirror of
https://github.com/monero-project/monero.git
synced 2025-12-11 16:02:34 +01:00
unit_tests: do not rethrow a copy of an exception
Found by codacy.com
This commit is contained in:
@@ -49,7 +49,7 @@ class WalletSubaddress : public ::testing::Test
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
LOG_ERROR("failed to generate wallet: " << e.what());
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
|
||||
w1.add_subaddress_account(test_label);
|
||||
|
||||
Reference in New Issue
Block a user