Skip to content

Commit

Permalink
Return None in case of an error in get_addressable_entity
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-casper committed Mar 28, 2024
1 parent e332986 commit bdab634
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ where
Key::addressable_entity_key(EntityKindTag::System, entity_hash),
&[],
)
.expect("must have value"),
.ok()?,
};

if let StoredValue::AddressableEntity(entity) = value {
Expand Down

0 comments on commit bdab634

Please sign in to comment.