Source:
<code>public void performActions() { if (this.clientConfiguration.getActions().isEmpty()) { this.clientConfiguration.printHelp(); return; } this.dumpProcessingController.setOfflineMode(this.clientConfiguration .getOfflineMode()); if (this.clientConfiguration.getDumpLocation() != null) { try { this.dumpProcessingController .setDownloadDirectory(this.clientConfiguration .getDumpLocation()); } catch (IOException e) { logger.error("Could not set download directory to " + this.clientConfiguration.getDumpLocation() + ": " + e.getMessage()); logger.error("Aborting"); return; } } dumpProcessingController.setLanguageFilter(this.clientConfiguration .getFilterLanguages()); dumpProcessingController.setSiteLinkFilter(this.clientConfiguration .getFilterSiteKeys()); dumpProcessingController.setPropertyFilter(this.clientConfiguration .getFilterProperties()); MwDumpFile dumpFile = dumpProcessingController .getMostRecentDump(DumpContentType.JSON); boolean hasReadyProcessor = false; for (DumpProcessingAction props : this.clientConfiguration.getActions()) { if (!props.isReady()) { continue; } if (props.needsSites()) { prepareSites(); if (this.sites == null) { continue; } props.setSites(this.sites); } props.setDumpInformation(dumpFile.getProjectName(), dumpFile.getDateStamp()); this.dumpProcessingController.registerEntityDocumentProcessor( props, null, true); hasReadyProcessor = true; } if (!hasReadyProcessor) { return; } if (!this.clientConfiguration.isQuiet()) { EntityTimerProcessor entityTimerProcessor = new EntityTimerProcessor( 0); this.dumpProcessingController.registerEntityDocumentProcessor( entityTimerProcessor, null, true); } openActions(); this.dumpProcessingController.processDump(dumpFile); closeActions(); try { createReport(); } catch (IOException e) { <START> logger.error("Could not print report file!"); <END> } }</code><technical_language>Please add exception message logged string</technical_language>

Target:
public void performActions() { if (this.clientConfiguration.getActions().isEmpty()) { this.clientConfiguration.printHelp(); return; } this.dumpProcessingController.setOfflineMode(this.clientConfiguration .getOfflineMode()); if (this.clientConfiguration.getDumpLocation() != null) { try { this.dumpProcessingController .setDownloadDirectory(this.clientConfiguration .getDumpLocation()); } catch (IOException e) { logger.error("Could not set download directory to " + this.clientConfiguration.getDumpLocation() + ": " + e.getMessage()); logger.error("Aborting"); return; } } dumpProcessingController.setLanguageFilter(this.clientConfiguration .getFilterLanguages()); dumpProcessingController.setSiteLinkFilter(this.clientConfiguration .getFilterSiteKeys()); dumpProcessingController.setPropertyFilter(this.clientConfiguration .getFilterProperties()); MwDumpFile dumpFile = dumpProcessingController .getMostRecentDump(DumpContentType.JSON); boolean hasReadyProcessor = false; for (DumpProcessingAction props : this.clientConfiguration.getActions()) { if (!props.isReady()) { continue; } if (props.needsSites()) { prepareSites(); if (this.sites == null) { continue; } props.setSites(this.sites); } props.setDumpInformation(dumpFile.getProjectName(), dumpFile.getDateStamp()); this.dumpProcessingController.registerEntityDocumentProcessor( props, null, true); hasReadyProcessor = true; } if (!hasReadyProcessor) { return; } if (!this.clientConfiguration.isQuiet()) { EntityTimerProcessor entityTimerProcessor = new EntityTimerProcessor( 0); this.dumpProcessingController.registerEntityDocumentProcessor( entityTimerProcessor, null, true); } openActions(); this.dumpProcessingController.processDump(dumpFile); closeActions(); try { writeReport(); } catch (IOException e) { logger.error("Could not print report file: " + e.getMessage()); } }