Rev 1925 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1925 | Rev 1928 | ||
---|---|---|---|
Line 541... | Line 541... | ||
541 | courseReportJson = cy.getCourseReportDocument(); |
541 | courseReportJson = cy.getCourseReportDocument(); |
542 | } |
542 | } |
543 | 543 | ||
544 | if (courseReportJson == null) { |
544 | if (courseReportJson == null) { |
545 | try { |
545 | try { |
546 | CourseReportDocument courseReport = new CourseReportServices().createNewCourseReportDocument(courseCode, year); |
546 | CourseReportDocument courseReport = createNewCourseReportDocument(courseCode, year); |
547 | courseReportJson = courseReport.toJson(); |
547 | courseReportJson = courseReport.toJson(); |
548 | saveCourseReportDocument(courseReportJson, session); |
548 | saveCourseReportDocument(courseReportJson, session); |
549 | } catch (1.5.0/docs/api/java/lang/Throwable.html">Throwable e) { |
549 | } catch (1.5.0/docs/api/java/lang/Throwable.html">Throwable e) { |
550 | 1.5.0/docs/api/java/lang/System.html">System.out.println(e); |
550 | 1.5.0/docs/api/java/lang/System.html">System.out.println(e); |
551 | e.printStackTrace(); |
551 | e.printStackTrace(); |