Skip to content

Commit

Permalink
added a debug line in facility_models.py: 147
Browse files Browse the repository at this point in the history
  • Loading branch information
ertush committed Aug 2, 2024
1 parent d81c497 commit 45984c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facilities/models/facility_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def push_facility_to_dhis2(self, new_facility_payload, new_facility):
raise ValidationError(
{
"Error!": [
"[DEBUG] new_facility: {}; [DEBUG] new_facility_payload: {}; [DEBUG] isRetrived: {}".format(new_facility, new_facility_payload),
"[DEBUG] new_facility: {}; [DEBUG] new_facility_payload: {}".format(new_facility, new_facility_payload),
"An error occured while creating the facility in KHIS Aggregate. This is may be caused by the "
"existance of an organisation unit with as similar name as to the one you are creating. KHIS Error: {}".format(r.text)
]
Expand Down

0 comments on commit 45984c3

Please sign in to comment.