Skip to content

Commit

Permalink
reraise exception if failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed May 27, 2021
1 parent aad5eeb commit 0791b3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emmet-core/emmet/core/oxidation_states.py
Expand Up @@ -85,3 +85,4 @@ def from_structure(cls, structure: Structure):

except Exception as e:
logging.error("Oxidation state guess failed with: {}".format(e))
raise e

0 comments on commit 0791b3b

Please sign in to comment.