Skip to content

Commit

Permalink
Merge pull request #521 from opencybersecurityalliance/hotfix-invalidexp
Browse files Browse the repository at this point in the history
fix an invalid exception name
  • Loading branch information
subbyte authored May 23, 2024
2 parents 9c7e63d + e09aaf8 commit eb4c77e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ The format is based on `Keep a Changelog`_.
Unreleased
==========

Fixed
-----

- Typo in an exception name
- Corner cases fixed in `firepit`

1.8.7 (2024-05-08)
==================

Expand Down
2 changes: 1 addition & 1 deletion packages/kestrel_core/src/kestrel/semantics/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def deref(reference: Reference):

try:
store_return = store.lookup(entity_table, reference.attribute)
except InvalidAttr as e:
except InvalidAttribute as e:
_logger.warning(f"cannot deref {reference}. Invalid attribute in firepit.")
raise InvalidAttribute(e.message)

Expand Down

0 comments on commit eb4c77e

Please sign in to comment.