Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Fix typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Cooper committed Jan 12, 2015
1 parent 2fc1fe4 commit 7915f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/orbitz/consul/util/ClientUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ private static <T> ConsulResponse<T> consulResponse(GenericType<T> responseType,
if (response.hasEntity()) {
// Consul sends back error information in the response body
String message = response.readEntity(String.class);
sse = new ServerErrorException(message, response);
see = new ServerErrorException(message, response);
} else {
sse = new ServerErrorException(response);
see = new ServerErrorException(response);
}
response.close();
throw new ConsulException(see.getLocalizedMessage(), see);
Expand Down

0 comments on commit 7915f1e

Please sign in to comment.