diff --git a/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java b/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java index c9d69872b3..a50fd3aeb2 100644 --- a/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java +++ b/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java @@ -103,7 +103,7 @@ public List processAudioForPlaybacks(Map media // Used for logging only String audioFilenames = null; if (log.isDebugEnabled()) { - audioFileInfos.stream().map(AudioFileInfo::getMediaFile).collect(Collectors.joining(", ")); + audioFilenames = audioFileInfos.stream().map(AudioFileInfo::getMediaFile).collect(Collectors.joining(", ")); } List concatenationsList = new ArrayList<>();