You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
missing path in verifier message for payload directory #123
In MandatoryVerifier.checkPayloadDirectoryExists, when the bag/data directory does not exist, it returns "File [{}] should exist but it doesn't!". The path does not seemed to be filled in correctly.
Activity
jscancella commentedon Jul 12, 2018
@acdha line
bagit-java/src/main/java/gov/loc/repository/bagit/verify/MandatoryVerifier.java
Line 87 in 66fc465
throw new MissingPayloadDirectoryException(messages.getString("file_should_exist_error"), dataDir);rvanheest commentedon Jul 12, 2018
@jscancella shouldn't it also do something with
MessageFormatter.format. I now see that in other places in that class as well...jscancella commentedon Jul 12, 2018
@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.
refs LibraryOfCongress#123 - fixed error message formatting