void (String[] args) { DataCollectorDebugLogger logger = new ExternalDataCollectorLogger(); ExternalEventsLogger eventsLogger = new ExternalEventsLogger(); try { execute(args, logger, eventsLogger); } catch (Throwable e) { logger.warn("Failed uploading logs", e); eventsLogger.logSendingLogsFinished("EXCEPTION_OCCURRED"); } }