Skip to content

Commit

Permalink
fix: need to put exception type to get message
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Oct 19, 2021
1 parent 4fc4627 commit 16c01ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def install_equality_constraints(self):
mask = ~np.isnan(val)
self.interpolator.add_equality_constraints(
idc[mask], val[mask])
except as e:
except BaseException as e:
logger.error("Could not add equality for {}".format(self.name))
logger.error("Exception: {}".format(e))

Expand Down

0 comments on commit 16c01ea

Please sign in to comment.