Skip to content

Commit 32def8d

Browse files
committed
Catch ios_base::failure specifically
1 parent 6fb4bbf commit 32def8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/walletdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
277277
{
278278
ssValue >> hash;
279279
}
280-
catch (...) {}
280+
catch (const std::ios_base::failure&) {}
281281

282282
bool fSkipCheck = false;
283283

0 commit comments

Comments
 (0)