[#346] safely destructure identity failure errors
- BUG SYMPTOM: some send response handlers error when they try to
destructure a null
datafield - CAUSE: the
{identityFailure}destructuring assignment unsafely assumes that allsend_messagevalues will have adatafield on which we can calldata[0] - FIX: don't assume anything about the shape of the
datafield. extractidentityFailurefrom it (if it is there) with a lodashgetcall to the full path to the field we are trying to (conditionally) extract
Closes #346 (closed)