Просмотр исходного кода

Catching everything else in the put hook.

Winston Li 12 лет назад
Родитель
Сommit
bdb34f89e7

+ 2 - 0
services/git-bridge/src/uk/ac/ic/wlgitbridge/git/handler/hook/WriteLatexPutHook.java

@@ -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();
             }
         }
     }