Skip to content

Commit

Permalink
changed check if object exist to throw an exception if connection to …
Browse files Browse the repository at this point in the history
…minio can't be established
  • Loading branch information
ZombieAlienRobot committed Nov 1, 2023
1 parent e9a29ab commit d4d127f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ private boolean doesObjectExist(final String name, final String bucketName) {
return false;
} catch (final Exception e) {
log.error("Error while checking if object exists", e);
return false;
throw new RuntimeException(e.getMessage());
}
}

Expand Down

0 comments on commit d4d127f

Please sign in to comment.