Print some debug info when panicing in leveldb