Skip to content
Snippets Groups Projects
Commit d4a35c40 authored by Simon Künzel's avatar Simon Künzel
Browse files

Fix invalid method call

parent 5f66e671
No related branches found
No related tags found
1 merge request!7Allow different transaction isolation levels in db and some misc changes
Pipeline #6099 failed
...@@ -622,11 +622,8 @@ else: ...@@ -622,11 +622,8 @@ else:
for course in moodle_response["Data"]: for course in moodle_response["Data"]:
moodle_courses.append(str(course["id"])) moodle_courses.append(str(course["id"]))
else: else:
#TODO # TODO notify
api.notify_admins( pass
'endpoint_exception',
traceback="try_finish_running_authentication failed while getting moodle courses, data={}"
.format(str(moodle_response)))
__make_oauth_request("token", refresh_token=token_response["refresh_token"], grant_type="invalidate") __make_oauth_request("token", refresh_token=token_response["refresh_token"], grant_type="invalidate")
except ApiClientException: except ApiClientException:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment