diff --git a/source/net/filebot/Logging.java b/source/net/filebot/Logging.java index 950bb882..6815f941 100644 --- a/source/net/filebot/Logging.java +++ b/source/net/filebot/Logging.java @@ -114,7 +114,7 @@ public final class Logging { } // e.g. Failed to create file: AccessDeniedException: /path/to/file - return Stream.of(m, t.getClass().getSimpleName(), t.getMessage()).map(Objects::nonNull).map(Objects::toString).collect(joining(": ")); + return Stream.of(m, t.getClass().getSimpleName(), t.getMessage()).filter(Objects::nonNull).map(Objects::toString).collect(joining(": ")); } public static class ConsoleFormatter extends Formatter {