Skip to content

Commit

Permalink
Use better exception logging in SimulationInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
cklb committed Oct 18, 2024
1 parent b8553cb commit f98261f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymoskito/simulation_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ def _setup_sim_modules(self, model):
try:
slot = sub_module_cls(settings)
except Exception as e:
self._logger.error("Init of module '{}' failed with\n"
"'{}'!".format(module_name, e))
self._logger.error("Init of module '{}' failed.".format(module_name))
self._logger.exception(e)
return False

# add to simulation modules
Expand Down

0 comments on commit f98261f

Please sign in to comment.