Skip to content

Commit

Permalink
fix ECSRamRole NullPointerException
Browse files Browse the repository at this point in the history
  • Loading branch information
TsinghuaDream authored and yndu13 committed Sep 13, 2022
1 parent 4d03611 commit be95f1a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ public HttpResponse syncInvoke(HttpRequest request) throws IOException, ClientEx
parseHttpConn(response, httpConn, content);
return response;
} catch (IOException e) {
content = httpConn.getErrorStream();
response = new HttpResponse(httpConn.getURL().toString());
parseHttpConn(response, httpConn, content);
return response;
throw new ClientException(e.getMessage());
} finally {
if (content != null) {
content.close();
Expand Down

0 comments on commit be95f1a

Please sign in to comment.