diff options
author | Thomas <> | 2022-11-24 08:00:52 +0100 |
---|---|---|
committer | Thomas <> | 2022-11-24 08:00:52 +0100 |
commit | 4428a6b1ad5b9de121c1cce675f901213a1e5b51 (patch) | |
tree | 4c758e9a198635f7889618bf084a9a4ed4025fb7 /eaaf_modules/eaaf_module_auth_sl20/src/main | |
parent | 8a875233bd60c71768d9aaac4e101c88a160f93a (diff) | |
download | EAAF-Components-4428a6b1ad5b9de121c1cce675f901213a1e5b51.tar.gz EAAF-Components-4428a6b1ad5b9de121c1cce675f901213a1e5b51.tar.bz2 EAAF-Components-4428a6b1ad5b9de121c1cce675f901213a1e5b51.zip |
fix(sl20): remove full http response body from Exception message
Reason: Exception messages are illustrated as UX errors
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20/src/main')
-rw-r--r-- | eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java index a0b82793..c45245b1 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java @@ -99,10 +99,10 @@ public class SL20HttpBindingUtils { return holder; } catch (final IOException | ParseException e) { - log.warn("SL20 response contains no )valid JSON", e); + log.warn("SL20 response contains no valid JSON. Body msg: {}", bodyMsg, e); throw new SlCommandoParserException(MessageFormat.format( - "SL20 response with http-code: {} with body: {} and generic response-processing error: {}", - httpStatusCode, bodyMsg, e.getMessage())); + "SL20 response with http-code: {} and generic response-processing error: {}", + httpStatusCode, e.getMessage())); } |