Skip to content

Commit 6657c30

Browse files
author
Psilo
committed
fix debug message for ignored interceptors
1 parent 85dee98 commit 6657c30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/info/unterrainer/commons/httpserver/GenericHandlerGroup.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ private void getList(final Context ctx) {
121121
break;
122122
}
123123
} catch (Exception e) {
124-
log.debug("Interceptor threw an exception. Ignoring.", e);
124+
log.debug("Interceptor threw an exception [{}]: [{}]. Ignoring.", e.getClass().getSimpleName(),
125+
e.getMessage());
125126
}
126127

127128
DaoTransaction<E> transaction = daoTransactionManager.beginTransaction();

0 commit comments

Comments
 (0)