Skip to content

Commit

Permalink
Ignore SSE errors (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt authored Oct 8, 2024
1 parent f3c38a9 commit 03bdc81
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion onyxia-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:21.0.4_7-jre as extract
FROM eclipse-temurin:21.0.4_7-jre AS extract
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} application.jar
RUN java -Djarmode=layertools -jar application.jar extract
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,20 @@ public void eventReceived(Action action, Event event) {

@Override
public void onClose() {
emitter.complete();
try {
emitter.complete();
} catch (Exception ignored) {

}
}

@Override
public void onClose(WatcherException e) {
emitter.complete();
try {
emitter.complete();
} catch (Exception ignored) {

}
}
}

Expand Down

0 comments on commit 03bdc81

Please sign in to comment.