better error handling

This commit is contained in:
anhefti 2020-06-10 09:43:39 +02:00
parent 9ddca15c1e
commit b63a8e39b3

View file

@ -66,7 +66,7 @@ public class WebClientDetailsService implements ClientDetailsService {
return getForExamClientAPI(clientId)
.get(t -> {
log.error("Active ClientConfig not found: ", t);
log.error("Active ClientConfig not found: {} cause: {}", clientId, t.getMessage());
throw new AccessDeniedException(t.getMessage());
});
}