void SimpleTaskProgress::update(const ofx::TaskFailedEventArgs& args) { taskId = args.getTaskId(); name = args.getTaskName(); state = args.getState(); errorMessage = args.getException().displayText(); }
void FileImporter::onTaskFailed(const ofx::TaskFailedEventArgs& args){taskProgress.erase(args.getTaskId());ofLogError("FileImporter","task failed");}