mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 06:45:06 -05:00
Refactor console logging
This commit is contained in:
parent
567b50da21
commit
e9ddee19d6
@ -1003,7 +1003,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
|||||||
log.info(format("%s %s", current, file));
|
log.info(format("%s %s", current, file));
|
||||||
|
|
||||||
if (current.compareToIgnoreCase(it.getValue()) != 0) {
|
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) {
|
} catch (IOException e) {
|
||||||
status = false;
|
status = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user