From 4811d889401bedf644b70a331e6a6863071c4f34 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 25 Nov 2019 15:57:13 +0100 Subject: [PATCH] minor bugifx --- pmd-rulesets.xml | 2 ++ .../java/ch/ethz/seb/sebserver/gui/content/SebClientLogs.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pmd-rulesets.xml b/pmd-rulesets.xml index a6833048..6d33f534 100644 --- a/pmd-rulesets.xml +++ b/pmd-rulesets.xml @@ -18,6 +18,8 @@ + + diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/SebClientLogs.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/SebClientLogs.java index 439143f4..2df6448a 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/SebClientLogs.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/SebClientLogs.java @@ -300,7 +300,7 @@ public class SebClientLogs implements TemplateComposer { .withURIVariable(API.PARAM_MODEL_ID, String.valueOf(clientEvent.connectionId)) .call() .get( - error -> log.error("Failed to get Exam for id {}", clientEvent.examId, error), + error -> log.error("Failed to get ClientConnection for id {}", clientEvent.connectionId, error), () -> ClientConnection.EMPTY_CLIENT_CONNECTION); this.pageService.formBuilder(pc.copyOf(content), 3)