Merge pull request #3834 from ramunask/HttpMethod-null-pointer-fix
NPE fix for HttpMethod
This commit is contained in:
commit
4d614ed635
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public class HttpMethod<R> {
|
|||
} catch (HttpResponseException e) {
|
||||
throw e;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Error executing http method [" + builder + "]. Response : " + new String(bytes), e);
|
||||
throw new RuntimeException("Error executing http method [" + builder + "]. Response : " + String.valueOf(bytes), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue