Capture the pkey errors

Instead of just dropping the pkey errors capture the
errors and include those errors in the final exception
that may be thrown.

This helps make it easier to understand why the
actual error happened.

Change-Id: I6423225a85147377d426bc086878a96b3e354f01
Merge "Capture the pkey errors"