Skip to content

Commit 91a8738

Browse files
committed
get the error
1 parent 70a3f2d commit 91a8738

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/wallet/test/fuzz/wallet_bdb_parser.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ FUZZ_TARGET(wallet_bdb_parser, .init = initialize_wallet_bdb_parser)
111111
if (bdb_ro_err && !db) {
112112
return;
113113
}
114+
if (!db) {
115+
std::cout << error.origina << std::endl;
116+
throw std::runtime_error(error.original);
117+
}
114118
assert(db);
115119
if (bdb_ro_strict_err) {
116120
// BerkeleyRO will be stricter than BDB. Ignore when those specific errors are hit.

0 commit comments

Comments
 (0)