Skip to content

Commit

Permalink
Merge pull request #1020 from hubmapconsortium/bulk-errors
Browse files Browse the repository at this point in the history
Render full Non-Row-Specific Error on Bulk Donor/Sample Upload
  • Loading branch information
yuanzhou committed Jan 10, 2023
2 parents 31696cd + d88a98d commit 2d5b259
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/src/components/ingest/bulk.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class bulkCreation extends Component {

for (const [key, value] of Object.entries(coreError)) {
console.debug("key", key, "value", value);
// if(){
// if(){

// }
console.log("ROW __________________",`${key}: ${value}`);
Expand All @@ -161,9 +161,10 @@ class bulkCreation extends Component {
console.debug("errRow",errRow);
errors.push(errRow);
}else{
errRow.row = key;
errRow.message = value.error;
console.debug("value",value.error);
// errRow.row = key;
errRow.row = "N/A";
errRow.message = value;
console.debug("value",value);
console.debug("errRow",errRow);
errors.push(errRow);
}
Expand Down

0 comments on commit 2d5b259

Please sign in to comment.