catch exceptions during recovery
Add error code for failing deserialisation