Skip to content

Commit

Permalink
Add the response code and body to `SubmitTransactionUnknownResponseEx…
Browse files Browse the repository at this point in the history
…ception`. (#556)
  • Loading branch information
overcat authored Nov 15, 2023
1 parent a105cf0 commit d6c97da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public SubmitTransactionUnknownResponseException(int code, String body) {

@Override
public String getMessage() {
return "Unknown response from Horizon";
return String.format("Unknown response from Horizon: [%d] %s", code, body);
}

public int getCode() {
Expand Down

0 comments on commit d6c97da

Please sign in to comment.