bitcoin/bitcoin — pull request #2891 by gavinandresen (2013-08-12 08:08:38+00:00)
Title: Use HandleError() consistently to handle leveldb errors

I used this code when debugging the OSX corruption issue. It just cleans up our leveldb error-detecting code a little bit.