Skip to content

Commit

Permalink
Better catch errors with interface metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Feb 3, 2021
1 parent f7a5040 commit 8efa2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bw_processing/datapackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _load_all(
mmap_mode=mmap_mode,
)
)
except InvalidMimetype:
except (InvalidMimetype, KeyError):
self.data.append(UndefinedInterface())

def _create(
Expand Down

0 comments on commit 8efa2de

Please sign in to comment.