Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rvosa committed Aug 17, 2024
1 parent c537cd0 commit bbe9c29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions barcode_validator/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def obs_taxon(self):
@obs_taxon.setter
def obs_taxon(self, value):
if not isinstance(value, list) or not all(isinstance(item, str) for item in value):
logging.error(value)
raise ValueError("obs_taxon must be a list of strings")
self._obs_taxon = value

Expand Down

0 comments on commit bbe9c29

Please sign in to comment.