def handle_transmission_error(self, learner_data, request_exception):
try:<EOL><INDENT>sys_msg = request_exception.response.content<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>if '<STR_LIT>' in sys_msg:<EOL><INDENT>ecu = EnterpriseCustomerUser.objects.get(<EOL>enterprise_enrollments__id=learner_data.enterprise_course_enrollment_id)<EOL>ecu.active = False<EOL>ecu.save()<EOL>LOGGER.warning(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>',<EOL>ecu.username, ecu.user_id, ecu.user_email, ecu.enterprise_customer<EOL>)<EOL>return<EOL><DEDENT><DEDENT>super(SapSuccessFactorsLearnerTransmitter, self).handle_transmission_error(learner_data, request_exception)<EOL>
Handle the case where the employee on SAPSF's side is marked as inactive.