mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Catching everything else in the put hook.
This commit is contained in:
parent
da5b661858
commit
bdb34f89e7
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue