Skip to content

Commit

Permalink
Merge pull request #1153 from rcpch/mbarton/include-postcode-in-imd-e…
Browse files Browse the repository at this point in the history
…rror

Include postcode in imd error
  • Loading branch information
mbarton authored Jan 7, 2025
2 parents 1681d17 + 8b65581 commit 745e4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epilepsy12/general_functions/index_multiple_deprivation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def imd_for_postcode(user_postcode: str) -> int:

if response.status_code != 200:
logger.error(
"Could not get deprivation score. Response status %s", response.status_code
"Could not get deprivation score for %s. Response status %s", user_postcode, response.status_code
)
return None

Expand Down

0 comments on commit 745e4de

Please sign in to comment.