Skip to content

Commit 22825db

Browse files
committed
get the error
1 parent 70a3f2d commit 22825db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wallet/test/fuzz/wallet_bdb_parser.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ FUZZ_TARGET(wallet_bdb_parser, .init = initialize_wallet_bdb_parser)
111111
if (bdb_ro_err && !db) {
112112
return;
113113
}
114+
if (!db) {
115+
throw std::runtime_error(error.original);
116+
}
114117
assert(db);
115118
if (bdb_ro_strict_err) {
116119
// BerkeleyRO will be stricter than BDB. Ignore when those specific errors are hit.

0 commit comments

Comments
 (0)