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 Nov 3, 2023
1 parent 1f7a882 commit 3d99cea
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 3d99cea

Please sign in to comment.