Skip to content

Commit

Permalink
No need to cast
Browse files Browse the repository at this point in the history
Co-authored-by: Hubert Plociniczak <hubert.plociniczak@gmail.com>
  • Loading branch information
JaroslavTulach and hubertp authored Aug 20, 2024
1 parent 8dcc6ae commit c4b1815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/runner/src/main/java/org/enso/runner/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ private void handleRun(
throw exitFail();
}
} else {
println(((scala.util.Failure) result).exception().getMessage());
println(result.failed().get().getMessage());
throw exitFail();
}
}
Expand Down

0 comments on commit c4b1815

Please sign in to comment.