Catching everything else in the put hook.

This commit is contained in:
Winston Li 2014-11-17 10:48:53 +00:00
parent da5b661858
commit bdb34f89e7

View file

@ -49,6 +49,8 @@ public class WriteLatexPutHook implements PreReceiveHook {
receivePack.sendMessage("hint: " + line);
}
receiveCommand.setResult(Result.REJECTED_OTHER_REASON, message);
} catch (Throwable t) {
t.printStackTrace();
}
}
}