Skip to content

Commit

Permalink
fix: use the proper entity key variable
Browse files Browse the repository at this point in the history
  • Loading branch information
epmog committed Sep 1, 2023
1 parent 0d64cbd commit 1b76fd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def cache_entities(self, entity_identifiers: list[EntityIdentifier]):
# InternalServerException, ValidationException, ResourceNotFoundException,

failed_entity_key = self._entity_key(failed_entity)
entity_record = self._entity_record_map[entity_key]
entity_record = self._entity_record_map[failed_entity_key]
entity_record.error = failed_entity_value
logger.info(
f"BatchGetJobEntity request: {failed_entity_key} failed due to {failed_entity_value['code']}: {failed_entity_value['message']}"
Expand Down

0 comments on commit 1b76fd1

Please sign in to comment.