summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/servlet/FilestoreServlet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/servlet/FilestoreServlet.java')
-rw-r--r--src/main/java/com/gitblit/servlet/FilestoreServlet.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/servlet/FilestoreServlet.java b/src/main/java/com/gitblit/servlet/FilestoreServlet.java
index 8f303fcf..4af9084d 100644
--- a/src/main/java/com/gitblit/servlet/FilestoreServlet.java
+++ b/src/main/java/com/gitblit/servlet/FilestoreServlet.java
@@ -238,7 +238,10 @@ public class FilestoreServlet extends HttpServlet {
}
} else {
response.setStatus(responseObject.error.code);
- serialize(response, responseObject.error);
+
+ if (isMetaRequest) {
+ serialize(response, responseObject.error);
+ }
}
};