Skip to content

Commit

Permalink
chore: Restart if there are any uncaught exceptions. (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed May 3, 2024
1 parent 14c2052 commit 450b5bb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.numaproj.numaflow</groupId>
<artifactId>numaflow-java</artifactId>
<version>0.7.2</version>
<version>0.7.4</version>
</dependency>
```

Expand All @@ -35,7 +35,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "io.numaproj.numaflow:numaflow-java:0.7.2"
compile "io.numaproj.numaflow:numaflow-java:0.7.4"
```

### Build
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<dependency>
<groupId>io.numaproj.numaflow</groupId>
<artifactId>numaflow-java</artifactId>
<version>0.7.2</version>
<version>0.7.4</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.numaproj.numaflow</groupId>
<artifactId>numaflow-java</artifactId>
<version>0.7.3</version>
<version>0.7.4</version>
<packaging>jar</packaging>

<name>numaflow-java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ private void handleException(
var status = Status.UNKNOWN.withDescription(e.getMessage()).withCause(e);
var newStatus = Status.fromThrowable(status.asException());
serverCall.close(newStatus, headers);
e.printStackTrace();
System.exit(1);
}
};
}
Expand Down

0 comments on commit 450b5bb

Please sign in to comment.