Skip to content

Commit

Permalink
fix: unhandled attribute exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfaircloth committed Sep 28, 2023
1 parent 096ac50 commit ca3b513
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions microsoft_azure_eventhub_source/_CleanEvent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def CleanEvent(source_dict: dict):
value = orjson.loads(value)
CleanEvent(value)
source_dict[key] = value
except AttributeError:
pass
except orjson.JSONDecodeError:
pass
elif isinstance(value, dict) and not value:
Expand Down

0 comments on commit ca3b513

Please sign in to comment.