diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-23 14:08:28 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-23 15:38:00 +0000 |
commit | 0dac3c6428a739771795496bb74066b154929ab2 (patch) | |
tree | a5f848366d893da6da428964c1165ca132e55082 | |
parent | cryptonote: fix get_unit for non default settings (diff) | |
download | monero-0dac3c6428a739771795496bb74066b154929ab2.tar.xz |
unit_tests: do not rethrow a copy of an exception
Found by codacy.com
-rw-r--r-- | tests/unit_tests/subaddress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/subaddress.cpp b/tests/unit_tests/subaddress.cpp index 8ff4c5f0d..67802d736 100644 --- a/tests/unit_tests/subaddress.cpp +++ b/tests/unit_tests/subaddress.cpp @@ -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); |