With the current implementation, on a failed import to the legacy db (in level), there is no error message. Because of this, future lookups of legacy data can return NotFoundError: Key not found in database when trying to find an entry that was not successfully imported.
It would be helpful for the error message to show which legacy imports failed and why.