Skip to content

Commit

Permalink
Include bundle that raised problems in audit
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul F Bugni committed Oct 14, 2023
1 parent 20b555a commit 085fc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrant/models/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def transmit_bundle(self):
except requests.exceptions.HTTPError as http_err:
# at least one item in the bundle generated an error
audit_entry(f"response: {response.json()['issue']}", level="error")
logging.debug(f"fhir_bundle generated errors: {fhir_bundle}")
audit_entry(f"fhir_bundle which generated errors: {fhir_bundle}")
raise http_err

self.total_sent += len(self.bundle)
Expand Down

0 comments on commit 085fc63

Please sign in to comment.