mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
Fix ResourceFetcher log message.
This commit is contained in:
@@ -70,7 +70,6 @@ public class CandidateSnapshot {
|
||||
jsonObject.addProperty("latestVerId", currentVersion);
|
||||
jsonObject.add("files", getFilesAsJson(projectURL, postbackKey));
|
||||
jsonObject.addProperty("postbackUrl", projectURL + "/" + postbackKey + "/postback");
|
||||
System.out.println(jsonObject);
|
||||
return jsonObject;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,8 +56,9 @@ public class ResourceFetcher {
|
||||
|
||||
@Override
|
||||
public byte[] onCompleted(Response response) throws Exception {
|
||||
Util.sout(response.getStatusCode() + " " + response.getStatusText() + " (" + response.getResponseBody().length() + "B) -> " + url);
|
||||
return bytes.toByteArray();
|
||||
byte[] data = bytes.toByteArray();
|
||||
Util.sout(response.getStatusCode() + " " + response.getStatusText() + " (" + data.length + "B) -> " + url);
|
||||
return data;
|
||||
}
|
||||
|
||||
}).get();
|
||||
|
||||
Reference in New Issue
Block a user