Would it be useful to add the `api_handle_error_with_json` decorator here, or does `student_log_api` handle that already?