Skip to content

Commit

Permalink
get the error
Browse files Browse the repository at this point in the history
  • Loading branch information
achow101 committed Aug 31, 2024
1 parent 70a3f2d commit b1bdbfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wallet/test/fuzz/wallet_bdb_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ FUZZ_TARGET(wallet_bdb_parser, .init = initialize_wallet_bdb_parser)
if (bdb_ro_err && !db) {
return;
}
if (!db) {
std::cout << error.original << std::endl;
throw std::runtime_error(error.original);
}
assert(db);
if (bdb_ro_strict_err) {
// BerkeleyRO will be stricter than BDB. Ignore when those specific errors are hit.
Expand Down

0 comments on commit b1bdbfb

Please sign in to comment.