Skip to content

Commit

Permalink
docs: add comment outlining empty catch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Jan 28, 2025
1 parent de1df69 commit ea08d32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void testNonExistentConfigFail(ContainerTestImageDefaults targetImage) {
Assertions.assertTrue(logs.contains("ORS config file not found at: nonexistent/ors-config.yaml"));

} catch (ContainerLaunchException e) {

// Pass when throwing this exception since the container is supposed to fail when the config path is wrong.
} catch (Exception e) {
Assertions.fail("Container startup failed with exception: " + e.getMessage());
} finally {
Expand Down

0 comments on commit ea08d32

Please sign in to comment.