mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Changed response message slightly.
This commit is contained in:
parent
460ba0c4d7
commit
ae3808e5ad
1 changed files with 3 additions and 2 deletions
|
@ -76,8 +76,9 @@ public abstract class Request<T extends Result> {
|
|||
|
||||
@Override
|
||||
public T onCompleted(Response response) throws Exception {
|
||||
System.out.println("Response -> " + url);
|
||||
return parseResponse(new Gson().fromJson(response.getResponseBody(), JsonElement.class));
|
||||
String body = response.getResponseBody();
|
||||
System.out.println(response.getStatusText() + " (" + body.length() + " data bytes) -> " + url);
|
||||
return parseResponse(new Gson().fromJson(body, JsonElement.class));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue