KEYCLOAK-12638 Remove Request parameters from exception message

This commit is contained in:
mhajas 2020-02-04 17:22:14 +01:00 committed by Stian Thorgersen
parent e5935d8069
commit 62c9e15776

View file

@ -103,7 +103,7 @@ public class HttpMethod<R> {
} catch (HttpResponseException e) {
throw e;
} catch (Exception e) {
throw new RuntimeException("Error executing http method [" + builder + "]. Response : " + String.valueOf(bytes), e);
throw new RuntimeException("Error executing http method [" + builder.getMethod() + "]. Response : " + String.valueOf(bytes), e);
}
}