Skip to content

Commit

Permalink
Set the status before returning the error
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorgerhardt committed Oct 27, 2023
1 parent 76c8118 commit afa53cf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ private OpportunityDatasetUploadStatus createOpportunityDataset(Request req, Res
parameters = extractStringParameters(formFields);
} catch (Exception e) {
status.completeWithError(e);
res.status(400);
return status;
}

Expand Down

0 comments on commit afa53cf

Please sign in to comment.