[optimizer] Show list of parsing error on table upload error
@@ -1754,7 +1754,7 @@ var EditorViewModel = (function() {
self.watchUploadStatus(workloadId);
}, 2000);
} else {
- $(document).trigger("warn", data.upload_status.status.statusMsg + (data.upload_status.status.failedQueries > 0 ? '. ' + data.upload_status.status.failQueryDetails : ''));
+ $(document).trigger("warn", data.upload_status.status.statusMsg + (data.upload_status.status.failedQueries > 0 ? '. ' + data.upload_status.status.failQueryDetails.map(function(query) { return query.error; }) : ''));
}
} else {
$(document).trigger("error", data.message);
