From 61e0d1d6e79f6d1325dbd719fac8ecec519546d1 Mon Sep 17 00:00:00 2001 From: Torben Burchgart Date: Mon, 8 Jul 2024 13:51:34 +0200 Subject: [PATCH] Added request & response debugging for AuthenticationApi --- .../membrane/core/azure/api/auth/AuthenticationApi.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java b/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java index 5798678d0..2915e3518 100644 --- a/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java +++ b/core/src/main/java/com/predic8/membrane/core/azure/api/auth/AuthenticationApi.java @@ -62,7 +62,8 @@ public String accessToken() throws Exception { } catch (Exception e) { log.debug(e.getMessage()); log.debug(exc.getRequest().toString()); - log.debug(exc.getResponse().getHeader().toString(), responseBody); + log.debug(exc.getResponse().getHeader().toString()); + log.debug(responseBody); } return ""; }