Fixes #3 by passing put failures in an LMDBException