Skip to content

Commit 8d81e81

Browse files
committed
chore: debug log
1 parent 080bda7 commit 8d81e81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

express/properties/material.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ def derived_properties(self):
8484
derived_properties.extend(self._elemental_ratios())
8585
derived_properties.extend(self._p_norms())
8686
# TODO: Determine how to avoid an eternal pass when one derived property fails
87-
except Exception:
88-
logging.info("Derived properties array empty due to failure to calculate one (or more) values.")
87+
except Exception as e:
88+
logging.info(f"NOTE: derived properties array is empty due to failure to calculate values. Exception: {e} ")
89+
print("NOTE: derived properties array is empty due to failure to calculate values.", e)
8990
pass
9091
return sorted(derived_properties, key=lambda x: x["name"])
9192

0 commit comments

Comments
 (0)