Browse Source

Catch exception by reference

cl-refactor
Paweł Bylica 10 years ago
parent
commit
15b2fcd543
  1. 2
      libethereum/State.cpp

2
libethereum/State.cpp

@ -1102,7 +1102,7 @@ bool State::isTrieGood(bool _enforceRefs, bool _requireNoLeftOvers) const
return false; return false;
} }
} }
catch (InvalidTrie) catch (InvalidTrie const&)
{ {
cwarn << "BAD TRIE" << (e ? "[enforced" : "[unenforced") << "refs]"; cwarn << "BAD TRIE" << (e ? "[enforced" : "[unenforced") << "refs]";
cnote << m_db.keys(); cnote << m_db.keys();

Loading…
Cancel
Save