Catch errors in storing pending credentials
Protect from duplicate or null values being used as key in storePendingCredential