mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
Catching everything else in the put hook.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user