Skip to content

Commit

Permalink
Fixed an issue when building the data for some projects due to improp…
Browse files Browse the repository at this point in the history
…er exception handling
  • Loading branch information
wirew0lf committed Jan 5, 2023
1 parent 76e0a8c commit e5217cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brownie/project/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _generate_revert_map(self, pcMap: Dict, source_map: Dict, language: str) ->
for k, v in pcMap.items()
if v["op"] in ("REVERT", "INVALID") or "jump_revert" in v
):
if "path" not in data:
if "path" not in data or data["path"] == None:
continue
path_str = source_map[data["path"]]

Expand Down

0 comments on commit e5217cf

Please sign in to comment.