Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java
index bfd551d58a..095ed4c5ae 100644
--- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java
+++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java
@@ -149,7 +149,8 @@ public abstract class LfsProtocolServlet extends HttpServlet {
try {
repo = getLargeFileRepository(request, path);
if (repo == null) {
- res.setStatus(SC_SERVICE_UNAVAILABLE);
+ sendError(res, w, SC_SERVICE_UNAVAILABLE,
+ "LFS is not available"); //$NON-NLS-1$
} else {
res.setStatus(SC_OK);
TransferHandler handler = TransferHandler

Back to the top