better logging for lastname bug
This commit is contained in:
parent
f4ccd16425
commit
1cb0242507
2 changed files with 16 additions and 0 deletions
|
@ -403,9 +403,17 @@ public class MoodleCourseAccess implements CourseAccessAPI {
|
|||
throw new RuntimeException("No user details on Moodle API request");
|
||||
}
|
||||
|
||||
System.out.println("---------------------");
|
||||
System.out.println("*************it got here moodle course access debugging");
|
||||
if (log.isDebugEnabled()) {
|
||||
System.out.println("*************inside if");
|
||||
log.debug("User details received from Moodle: {}", userDetails[0]);
|
||||
}
|
||||
System.out.println("firstname: " + userDetails[0].firstname);
|
||||
System.out.println("firstname: " + userDetails[0].lastname);
|
||||
System.out.println("firstname: " + userDetails[0].fullname);
|
||||
System.out.println(userDetails[0]);
|
||||
System.out.println("---------------------");
|
||||
|
||||
final Map<String, String> additionalAttributes = MoodleUtils.getMoodleAccountDetails(userDetails);
|
||||
return new ExamineeAccountDetails(
|
||||
|
|
|
@ -339,9 +339,17 @@ public class MoodlePluginCourseAccess extends AbstractCachedCourseAccess impleme
|
|||
throw new RuntimeException("No user details on Moodle API request");
|
||||
}
|
||||
|
||||
System.out.println("---------------------");
|
||||
System.out.println("*************it got here moodle plugin debugging");
|
||||
if (log.isDebugEnabled()) {
|
||||
System.out.println("*************inside if");
|
||||
log.debug("User details received from Moodle: {}", userDetails[0]);
|
||||
}
|
||||
System.out.println("firstname: " + userDetails[0].firstname);
|
||||
System.out.println("firstname: " + userDetails[0].lastname);
|
||||
System.out.println("firstname: " + userDetails[0].fullname);
|
||||
System.out.println(userDetails[0]);
|
||||
System.out.println("---------------------");
|
||||
|
||||
final Map<String, String> additionalAttributes = MoodleUtils.getMoodleAccountDetails(userDetails);
|
||||
return new ExamineeAccountDetails(
|
||||
|
|
Loading…
Add table
Reference in a new issue