1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-10 06:20:27 -04:00

Declutter detailed log output

This commit is contained in:
Reinhard Pointner 2019-01-31 18:32:56 +07:00
parent fb5c332bc5
commit bb09c102cc

View File

@ -347,7 +347,7 @@ public final class WebRequest {
CharBuffer textContent = UTF_8.newDecoder().onMalformedInput(CodingErrorAction.REPORT).onUnmappableCharacter(CodingErrorAction.REPORT).decode(data.duplicate()); CharBuffer textContent = UTF_8.newDecoder().onMalformedInput(CodingErrorAction.REPORT).onUnmappableCharacter(CodingErrorAction.REPORT).decode(data.duplicate());
return String.format("Received %s%n%s%n", formatSize(data.remaining()), textContent); return String.format("Received %s%n%s%n", formatSize(data.remaining()), textContent);
} catch (Exception e) { } catch (Exception e) {
return String.format("Received %s%n[%s]%n", formatSize(data.remaining()), md5(data)); return String.format("Received %s%n[%s]%n", formatSize(data.remaining()), md5(data.duplicate()));
} }
} }