diff --git a/src/api/authentication.py b/src/api/authentication.py index 3d6e497386dfbae0593c9586bea07d6be134893b..364be95e598919fc83723233944816962bb0409a 100644 --- a/src/api/authentication.py +++ b/src/api/authentication.py @@ -622,11 +622,8 @@ else: for course in moodle_response["Data"]: moodle_courses.append(str(course["id"])) else: - #TODO - api.notify_admins( - 'endpoint_exception', - traceback="try_finish_running_authentication failed while getting moodle courses, data={}" - .format(str(moodle_response))) + # TODO notify + pass __make_oauth_request("token", refresh_token=token_response["refresh_token"], grant_type="invalidate") except ApiClientException: