better error handling
This commit is contained in:
parent
9ddca15c1e
commit
b63a8e39b3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class WebClientDetailsService implements ClientDetailsService {
|
||||||
|
|
||||||
return getForExamClientAPI(clientId)
|
return getForExamClientAPI(clientId)
|
||||||
.get(t -> {
|
.get(t -> {
|
||||||
log.error("Active ClientConfig not found: ", t);
|
log.error("Active ClientConfig not found: {} cause: {}", clientId, t.getMessage());
|
||||||
throw new AccessDeniedException(t.getMessage());
|
throw new AccessDeniedException(t.getMessage());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue