1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Refactor console logging

This commit is contained in:
Reinhard Pointner 2016-03-02 15:03:11 +00:00
parent 567b50da21
commit e9ddee19d6

View File

@ -1003,7 +1003,7 @@ public class CmdlineOperations implements CmdlineInterface {
log.info(format("%s %s", current, file));
if (current.compareToIgnoreCase(it.getValue()) != 0) {
throw new IOException(format("Corrupted file found: %s [hash mismatch: %s vs %s]", it.getKey(), current, it.getValue()));
throw new IOException(String.format("Corrupted file found: %s [hash mismatch: %s vs %s]", it.getKey(), current, it.getValue()));
}
} catch (IOException e) {
status = false;