From 26ecd256a98641141a0eec1d04a8769c560b1799 Mon Sep 17 00:00:00 2001 From: jbion Date: Mon, 19 Dec 2016 18:23:27 +0100 Subject: Fix logger class in ExceptionHandler --- src/main/java/org/luxons/sevenwonders/errors/ExceptionHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/luxons/sevenwonders/errors/ExceptionHandler.java b/src/main/java/org/luxons/sevenwonders/errors/ExceptionHandler.java index 77bda927..ca2e4062 100644 --- a/src/main/java/org/luxons/sevenwonders/errors/ExceptionHandler.java +++ b/src/main/java/org/luxons/sevenwonders/errors/ExceptionHandler.java @@ -3,7 +3,6 @@ package org.luxons.sevenwonders.errors; import java.util.List; import java.util.Locale; -import org.luxons.sevenwonders.controllers.GameController; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; @@ -17,7 +16,7 @@ import org.springframework.web.bind.annotation.ControllerAdvice; @ControllerAdvice public class ExceptionHandler { - private static final Logger logger = LoggerFactory.getLogger(GameController.class); + private static final Logger logger = LoggerFactory.getLogger(ExceptionHandler.class); private static final String ERROR_CODE_VALIDATION = "VALIDATION_ERROR"; -- cgit