diff --git a/src/main/java/de/thm/arsnova/services/SessionService.java b/src/main/java/de/thm/arsnova/services/SessionService.java index 0f7ddeb8b70903d44d9451895df5e57459a1bd8d..ee141d02a72fc310fd85ca369150ff912c749fee 100644 --- a/src/main/java/de/thm/arsnova/services/SessionService.java +++ b/src/main/java/de/thm/arsnova/services/SessionService.java @@ -31,6 +31,7 @@ import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; +import net.sf.json.JSONException; import net.sf.json.JSONObject; import org.slf4j.Logger; @@ -121,6 +122,8 @@ public class SessionService implements ISessionService { logger.debug("Cleaning up Feedback document " + d.getId()); } catch (IOException e) { logger.error("Could not delete Feedback document " + d.getId()); + } catch (JSONException e) { + logger.error("Could not delete Feedback document {}, error is: {} ", new Object[] {d.getId(), e}); } } if (!results.isEmpty()) {