aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2018-02-13 16:14:53 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2018-02-13 16:14:53 +0100
commit174edb40f01476bb06b31690332c300cf4e55971 (patch)
treee2751f4d6fd8fbbeeba313dce8bdceeef89ecbda /id/server/idserverlib/src/main/java/at
parent3088b917666c460f8656a6e8850a4ca68a054ab7 (diff)
downloadmoa-id-spss-174edb40f01476bb06b31690332c300cf4e55971.tar.gz
moa-id-spss-174edb40f01476bb06b31690332c300cf4e55971.tar.bz2
moa-id-spss-174edb40f01476bb06b31690332c300cf4e55971.zip
optimize loglevel
Diffstat (limited to 'id/server/idserverlib/src/main/java/at')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/AbstractAuthProtocolModulController.java1
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/ProtocolFinalizationController.java8
2 files changed, 2 insertions, 7 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/AbstractAuthProtocolModulController.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/AbstractAuthProtocolModulController.java
index 945033454..9b30368e3 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/AbstractAuthProtocolModulController.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/AbstractAuthProtocolModulController.java
@@ -275,7 +275,6 @@ public abstract class AbstractAuthProtocolModulController extends AbstractContro
}
} catch (Throwable e) {
- Logger.error(e);
handleErrorNoRedirect(throwable, req, resp, true);
}
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/ProtocolFinalizationController.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/ProtocolFinalizationController.java
index aebcf372e..41a4c9835 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/ProtocolFinalizationController.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/ProtocolFinalizationController.java
@@ -37,7 +37,6 @@ import at.gv.egovernment.moa.id.auth.exception.AuthenticationException;
import at.gv.egovernment.moa.id.commons.api.IRequest;
import at.gv.egovernment.moa.id.commons.api.data.IAuthenticationSession;
import at.gv.egovernment.moa.id.commons.api.exceptions.MOAIDException;
-import at.gv.egovernment.moa.id.commons.utils.MOAIDMessageProvider;
import at.gv.egovernment.moa.id.data.ExceptionContainer;
import at.gv.egovernment.moa.logging.Logger;
@@ -87,15 +86,12 @@ public class ProtocolFinalizationController extends AbstractAuthProtocolModulCon
}
} else {
- handleErrorNoRedirect(new Exception(
- MOAIDMessageProvider.getInstance().getMessage("auth.26", null)),
- req, resp, false);
+ handleErrorNoRedirect(new MOAIDException("auth.26", null), req, resp, false);
}
} catch (Throwable e) {
- Logger.error(e);
-
+ Logger.error(e);
handleErrorNoRedirect(e, req, resp, false);
}