unit_tests: do not rethrow a copy of an exception

Found by codacy.com
pull/130/head
moneromooo-monero 6 years ago
parent 5d9915ab9e
commit 0dac3c6428
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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);

Loading…
Cancel
Save