diff --git a/ai_ta_backend/main.py b/ai_ta_backend/main.py index 2a056787..0dc1e496 100644 --- a/ai_ta_backend/main.py +++ b/ai_ta_backend/main.py @@ -404,6 +404,8 @@ def logToNomic(): print("course_name: ", course_name) print("conversation: ", conversation) + print(request.get_json()) + if course_name == '' or conversation == '': # proper web error "400 Bad request" abort(