Skip to content

Commit

Permalink
Merge pull request #108 from DwayneJengSage/develop
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
DwayneJengSage authored May 12, 2021
2 parents 4ce6769 + cfd0a8e commit 522ba8e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ public JsonNode convertSurveyRecordToHealthDataJsonNode(String recordId, JsonNod
throw new BridgeExporterException("Answer link in survey data must be specified");
}
String answerText = s3Helper.readS3FileAsString(attachmentBucket, answerLink);
if (StringUtils.isBlank(answerText)) {
throw new BridgeExporterException("Survey with blank answers file " + answerLink);
}

JsonNode answerArrayNode;
try {
Expand Down

0 comments on commit 522ba8e

Please sign in to comment.