mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 22:29:01 +02:00
Added exception if the push request returned instantly with an error.
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ public class SnapshotPushPostbackHandler extends AbstractHandler {
|
||||
String projectName = request.getRequestURI().split("/")[1];
|
||||
SnapshotPushPostbackContents postbackContents = new SnapshotPushPostbackContents(writeLatexDataSource, projectName, contents);
|
||||
try {
|
||||
postbackContents.sendPostback();
|
||||
postbackContents.processPostback();
|
||||
} catch (UnexpectedPostbackException e) {
|
||||
throw new ServletException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user