diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAdministrationController.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAdministrationController.java index cb022f07..63d3b97e 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAdministrationController.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAdministrationController.java @@ -734,7 +734,7 @@ public class ExamAdministrationController extends EntityController { .flatMap(this.sebRestrictionService::applySEBClientRestriction) // TODO temporary try to fix corrupted data on Moodle site .onErrorDo(error -> { - if (error.getMessage().contains("error/SEB Server")) { + if (error.getMessage().contains("no SebServer Info!")) { log.info("**** try to reset exam_data on Moodle 2.0 with temporary hack... "); fullLmsIntegrationService.applyExamDataToLMS(exam) .onError(e -> log.error("Failed to apply exam data: ", error));