if (fileName == null) {
throw new IOException("File for upload was not set, search for errors above in log");
}
isSaving = false;
LoadosophiaUploadResults uploadResult = this.apiClient.sendFiles(new File(fileName), perfMonNotifier.getFiles());
informUser("Uploaded successfully, go to results: " + uploadResult.getRedirectLink());
} catch (IOException ex) {
informUser("Failed to upload results to Loadosophia.org, see log for detais");
log.error("Failed to upload results to loadosophia", ex);
}
}