Skip to content

Commit 73e8b8f

Browse files
committed
Return an WanakuException for consistency
1 parent 8e9eb10 commit 73e8b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/core-util/src/main/java/ai/wanaku/core/util/ProcessRunner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void run(File directory, String...command) {
4040
}
4141
} catch (IOException e) {
4242
LOG.error("I/O Error: %s", e.getMessage(), e);
43-
throw new RuntimeException(e);
43+
throw new WanakuException(e);
4444
} catch (InterruptedException e) {
4545
LOG.error("Interrupted: %s", e.getMessage(), e);
4646
throw new WanakuException(e);

0 commit comments

Comments
 (0)