Open rvanheest opened 6 years ago
@acdha line https://github.com/LibraryOfCongress/bagit-java/blob/66fc4654ff807111d89d4ee34e8bfe167056f75c/src/main/java/gov/loc/repository/bagit/verify/MandatoryVerifier.java#L87 should be
throw new MissingPayloadDirectoryException(messages.getString("file_should_exist_error"), dataDir);
@jscancella shouldn't it also do something with MessageFormatter.format
. I now see that in other places in that class as well...
@rvanheest yes, sorry that's what I get for replying too quickly. I had it in my head it was the logger, not an exception.
In
MandatoryVerifier.checkPayloadDirectoryExists
, when thebag/data
directory does not exist, it returns "File [{}] should exist but it doesn't!". The path does not seemed to be filled in correctly.