From 3ff9dc6b26afaaa422bafd801c3646d4f39f1d04 Mon Sep 17 00:00:00 2001 From: Winston Li Date: Thu, 4 Dec 2014 20:11:05 +0000 Subject: [PATCH] Printed invalid files error. --- .../uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java | 2 +- .../api/request/push/exception/InvalidFilesException.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java b/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java index 5a4c836b9b..966844b5df 100644 --- a/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java +++ b/services/git-bridge/src/uk/ac/ic/wlgitbridge/application/AttsResourceHandler.java @@ -15,7 +15,7 @@ public class AttsResourceHandler extends ResourceHandler { @Override public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { - System.out.println(baseRequest.getMethod() + baseRequest.getUri()); + System.out.println(baseRequest.getMethod() + " " + baseRequest.getUri()); super.handle(target, baseRequest, request, response); } diff --git a/services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidFilesException.java b/services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidFilesException.java index 0612ef3c03..979ae0c5cd 100644 --- a/services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidFilesException.java +++ b/services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidFilesException.java @@ -32,7 +32,7 @@ public class InvalidFilesException extends SnapshotPostException { @Override public void fromJSON(JsonElement json) { - + System.out.println(json); } }