Add error reporting to decryption