process_encrypted_request(): Add more log messages in case of errors